Mitech Preloader

Shortcuts when using variables

User Reference

Shortcuts when using variables

With effect from Version 7, there are a number of shortcuts for referring to some of the variable-handling functions. They were introduced to take away the amount of typing necessary when many variables are being used.

A full list of the shortcuts is as follows:

::A - AppendVr
::G - GetV
::I - IncrementV
::N - GetVn
::P - RemoveParagraph
::S - SetV
::R - SetVr

For example,

«SetVr(‘This’,That)»

can now be written

«::RThis,That»

which saves typing a set of quotes and a set of parentheses.

Similarly,

«SetVr(‘This’,GetV(‘That’))»

can be written as

«::RThis,::Gthat»

The shortcuts are translated early on in the parsing process into their formal format, so that sometimes if there are other syntax errors relating to the shortcut usage, the error message will refer, for example, to “GetV” rather than “::G”.