Overview of keywords (SDL script) — Keywords for working with variables
Declaring a variable:
Declares a local numeric variable.
Declares a local string variable
Declares a global numeric variable in a Generate.sdl template
Declares a global string variable in a Generate.sdl template
Setting a variable:
Sets the value of a local variable.
Sets the value of a global variable.
Getting the value of a variable:
Gets the value of a local variable.
Gets the value of a global variable.
Working with passed parameters (passed when loading generation templates):
%param
Specifies local variables to pass as parameters when loading a generation template.
Sets the value of a local variable that has been passed as a parameter to a called generation template.
Gets the value of a local variable that has been passed as a parameter to a called generation template.
Miscellaneous:
Generates text as a code comment.
Returns the character that is in a specified position.
Returns the length of a string.
%isin
Searches for a substring in a string, where either string can be a variable.
Evaluates whether the case and characters of a string match the case and characters of another string.
Was this helpful?