Navigation:  Reference > Commands >

Trap Operations

Print this Topic Previous pageReturn to chapter overviewNext page

 

This command can be used to save, restore or change the entire set of traps.  Use this command to store the current traps when you're changing forms or something similar where you want to keep the current

 

XTRAP what_to_do - sac   SAVE / RSTR / CHG Required - SAVE - save the trap values to the save_to_field. RSTR - restore the trap values from the save_to_field. CHG - change the trap values only.

 

FLD fn/v  If you specify SAVE or RSTR above this is the required field that is used to save the trap information.  The total size for all traps is 1000 bytes.

 

change_traps - sac NOCHG / DFLT  What to do with the traps.  NOCHG - make no changes (this is the default option). DFLT - reset traps to their default values.

 

COMMENTS

Use this command to store the current traps when you're changing forms or something similar where you want to keep the current settings but don't want them to be active while the new form is loaded.

 

 


Page url: http://www.cassoftware.com/tas/manual/trapoperations.htm