PUT_MACROS
|
Syntax: |
PUT_MACROS(<ON Macros>,<Type>)
|
||||
|
|
|
||||
|
Meaning: |
PUT_MACROS assigns the numbers of the ON <Key>
Macros resp. the ON <Event> Macros saved in <ON Macros> to the
program internal Macro table. <ON Macros> must have been created with
GET_MACROS$. If <ON Macros> contains the empty
String "", all ON <Key> Macros resp. all ON <Event>
Macros are disabled. PUT_MACROS returns the result –1 if the
structure of the parameter <ON Macros> is invalid, otherwise 1. |
||||
|
Parameter: |
|
||||
|
Sample: |
SAVE$ = GETMACROS$(0) /* Save the
current ON <Key> Macros H% = PUTMACROS("",0) /* Deactivate all ON <Key> Macros ON F2 MACRO XY CALL #10 H% = PUTMACROS(SAVE$,0) /* restore
ON <Key> Macros |
||||
|
See also: |
|