Premium Only Content

Advanced Scripting Technics with the Smart Package Robot.
More Advanced Scripting Technics with the Smart Package Robot.
You have used the SPR for a while and now you want to get deeper into the possibilities of structuring and preserving code for re-usage.
The SPR is designed to make procedure- or function like Code-Blocks.
You can Use an optional number of parameters for input.
And you can return unlimited number of results from "Functions" wether on the (Return-)Stack or directly in a given Variable.
Using the SAV.-command you have procedure-local variables.
And all of that works with unlimited nesting depth as well in Subprograms (using GSB./RET.) and also in MACROS (using the :% Definition).
While Macros will be "expanded" each time they are used, the "GSB." like procedures or functions will just be called where they are.
So in this Video we mix up all these technics. We make Macros with GSB. inside. We use parameters for GSB./RET. and also return results.
Additionally we take a look on the Returnstack, that can be switched from LIFO to FIFO and has many other options.
01:16 Introduction to more advanced Scripting
02:51 Define your own Commands with the SPR
03:00 Define your own "Macros"
03:24 Simple Messagebox-Macro
05:45 The first Parameter in a Macro is §§§01
06:30 Add more Parameters to the Macro
08:41 The #IF_PARAMS=X Preprocessor Directive to handle
a multiple number of parameters.
10:20 Macro-Local Labels: Do this to NOT get a Dup-Labe Error.
12:58 Macro-special Features for Macro unique Variables and Labels.
And the §§§00 which contains the number of Parameters given.
15:16 Macros can be nested to unlimited depth, but if you do that the Preprocessor will NEVER get ready.
Therefore always break macro expansion at some Level using the #IF RECURS and the §§§99 Feature.
16:32 Use the DMP.1 feature to see how the Macros look expanded in the final code.
25:19 Define an Macro-Function that will return a result (%Add A,B).
28:06 Return Macro-Function Results with PUV. and POP.
32:52 A bit more about the (Return-)STACK-Features of the SPR
36:17 The POP.-Command to get the Results from the (Return-)Stack.
38:30 Another way to return Results directly in a Variable from a Macro-Function or Subprogram-Function.
44:19 VAO. (Variable Once) and VAI. (Variable Indirect)
45:34 We are making a %Add-Command that can "add" numbers as well as "Names".
Using the GVT, (Get Variable Type) Command.
54:54 Taking a more in depth peek into "GSB. with Parameters"
58:36 We make complete Script that will generate a CSV-type File with Random Names and Adresses.
We will use all Features that we have learned before.
1:25:48 The same Script needs 6 Seconds to generate 2500 Random Profiles in "EXE_Mode" and 10 Seconds in "Run-Free-Mode".
1:27:37 End of Video
-
6:50:08
Fairy Mysterious Adventures
7 hours agoStardew with the Rumble crew #16
20.9K2 -
1:28:42
Kim Iversen
11 hours agoThe War on Terror Was a Scam? Is Osama Bin Laden Really Dead? SEAL Who Killed Him Breaks It Down.
62.6K118 -
1:09:44
Slightly Offensive
9 hours ago $9.20 earnedALMOST SERIOUS: How Mass Legal Immigration DESTROYED Australia | Guest: Maria Zeee
60.2K21 -
2:38:38
TimcastIRL
8 hours agoTrump Orders DOJ To FIRE EVERY Biden Attorney, Calls For CLEAN HOUSE w/Siaka Massaquoi | Timcast IRL
137K87 -
1:29:31
Glenn Greenwald
11 hours agoGermany's Repressive Speech Crackdown Intensifies; U.S. & Russia Meet in Saudi Arabia and Open Cooperation; Plus: An Amazing Hate Crime in Florida is Buried | SYSTEM UPDATE #408
101K65 -
DLDAfterDark
6 hours ago $1.37 earnedDLD Live! What's Your Typical EDC/Civilian Load Out? Guns & Ammo & EDC?
21.2K1 -
1:30:48
Redacted News
12 hours agoBREAKING! TRUMP AND PUTIN NEARING PEACE BUT EUROPEAN WARMONGERS TRYING TO STOP IT | REDACTED
198K264 -
52:40
Candace Show Podcast
13 hours agoSaturday Night Lively: What Were They Thinking? | Candace Ep 148
165K160 -
3:30:06
Man in America
8 hours agoDocumentary: The Money Masters 'How International Bankers Gained Control of America'
52.5K11 -
1:10:40
PMG
1 day ago $2.48 earnedTom Hanks Plays a Racist MAGA Supporter On SNL!! UNBELIEVABLE
28K4