Random idea - thought I’d throw it out there.
Scenario: I tend to call a lot of scripts in a loop because I might need to do 2-3 things rather than one thing. So for example:
1:
L 0 3: $ 2
2:
// do a couple
// things in a loop
Script 2 basically ends up getting burned with 4 empty lines leftover.
What if there was an op that let you identify what script called the current script? Then you could get a little more mileage out of a script like script 2 above. Let’s pretend that op is called $.C (get calling script).
1:
L 0 3: $ 3
2:
L 1 16: $ 3
3:
IF EQ $.C 1: //do something for script 1
IF EQ $.C 1: //do something else for script 1
IF EQ $.C 2 //do something for script 2
IF EQ $.C 2 //do something else for script 2
The big limitation I can see is that the IF syntax on each line only leaves room for shorter ops on the other side of the colon…