I wrote a test macro which tracks the path and values for the argument 'act' through the menu function and the return value of type 'wanttype' . The menu function includes a 'F1' option for a dummy activity and 'S0' key option for exiting. I discovered that when 'S0' is selected the macro never goes to the action 'alast'. My code for acting on the 'S0' option returns the 'Main' case function result 'wanttype' as 'Xdone' and the macro exits correctly, however, I expected a last loop to call the 'alast' code code section before exiting. The 'wanttype' returned to main is 'xdone' (0). My question is what tells Datacad to enter 'alast' time to perform 'alast' cleanup code?
Joe
User since V2.4
User since V2.4