Language
Unlike other programming languages, the syntax of VDS is very simple. Each command occupies one line, and has a plain English name that clearly describes its purpose. Variables are typeless, and can hold many kinds of information, for example, numbers or text. Functions are clearly distinguishable with names that start with '@', just like a spreadsheet.
The DialogScript language has a simple syntax not unlike MS-DOS batch language. It is designed for ease of use and efficiency when being interpreted by the run-time engine. There are 10 system variables, %0 to %9, which initially have the script file name in %0 and command line parameters in %1 through %9, just as in a batch file. There are also a further 26 user variables, %A to %Z. The contents of all variables (including system ones) can be changed once the script is running. There are now also 4032 global variables. These variables begin with %%, a letter, then alphanumerics plus underscores (e.g. %%my_variable_1.) There is no limit on the length of these user-defined variable names.
Read more about this topic: Visual DialogScript
Famous quotes containing the word language:
“Talking about dreams is like talking about movies, since the cinema uses the language of dreams; years can pass in a second and you can hop from one place to another. Its a language made of image. And in the real cinema, every object and every light means something, as in a dream.”
—Frederico Fellini (19201993)
“When youre lying awake with a dismal headache, and repose is
tabood by anxiety,
I conceive you may use any language you choose to indulge in without impropriety;”
—Sir William Schwenck Gilbert (18361911)
“Repeat thy song, till the familiar lines
Are footpaths for the thought of Italy!
Thy flame is blown abroad from all the heights,
Through all the nations, and a sound is heard,
As of a mighty wind, and men devout,
Strangers of Rome, and the new proselytes,
In their own language hear thy wondrous word,
And many are amazed and many doubt.”
—Henry Wadsworth Longfellow (18091882)