tumblr tracker

Variables

Parent Previous Next

Variables


Variables in Moscripto are denoted with the dollar sign ($) and must consist of alphanumeric values or underscores. Variable names cannot begin with numbers.


Scope of the variables is global, once declared the variable is visible throughout the whole script.


$myvar = function result or constant


Variables can any of the following types:


string

numeric

boolean

datetime

array