Skip to main content

Variable definition

Let's say that you have a set of environment variables the user define before executing your script and want to define a default value for them. You can do that easily by invoking either the set_undefined <str:variable> <str:value> or set_defined <str:variable> <str:value> method for setting undefined or defined variables respectively.