tumblr tracker

Using the Keywords

Parent Previous Next

Using the Keywords


Moscripto keywords are conditional case insensitive keywords invoked by typing the name of the keyword and then any conditions in brackets and then defining the execution block in curly brackets , eg:


Keyword(condition)

{

   other statements here;

}


For example:


$MyFile = "C:\TEMP\MyFile.txt";
$MyFileSize = 0;

If (File.Exists($MyFile))
{
   $MyFileSize = File.GetFileSize($MyFile);
}