determining_20how_20a_20macro_20was_20run
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| determining_20how_20a_20macro_20was_20run [2018/03/31 13:19] – external edit 127.0.0.1 | determining_20how_20a_20macro_20was_20run [2024/01/05 00:22] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| ==== Method One ==== | ==== Method One ==== | ||
| \\ | \\ | ||
| + | <code bb4w> | ||
| Called% = NOT(!384> | Called% = NOT(!384> | ||
| + | </ | ||
| \\ | \\ | ||
| ==== Method Two ==== | ==== Method Two ==== | ||
| \\ | \\ | ||
| + | <code bb4w> | ||
| P%=0 | P%=0 | ||
| ON ERROR P%=!408:ON ERROR OFF | ON ERROR P%=!408:ON ERROR OFF | ||
| IF P%=0 ERROR | IF P%=0 ERROR | ||
| Called%=NOT(P%> | Called%=NOT(P%> | ||
| + | </ | ||
| \\ Both methods set **Called%** to TRUE if the program was run using "CALL " | \\ Both methods set **Called%** to TRUE if the program was run using "CALL " | ||
determining_20how_20a_20macro_20was_20run.1522502355.txt.gz · Last modified: 2024/01/05 00:18 (external edit)