Variable names must begin with a letter and must be no longer than 64 characters and can only contain the following characters:
•_ The underscore character
•A-Z or a-z Any letters
•0-9 Any combination of digits
The following are all valid variable names:
aVariable
aVariable2000
a_variable
a_variable_2000
Variable names that begin with a numeric characters are NOT valid:
2000variable
12_variable
This list of words should not be used as variable names, as they are reserved by the program for specific purposes. There are also 1485 Keywords that are in the Trading Blox Basic Language. That number usually increases a few times a year. If you find a word you entered and the parser complains, it is likely the word is reserved.
All words in this list are case insensitive - neither the variable "UNITSIZE" nor "unitsize" can be used..
abs AbsoluteValue acos and ArcCosine ArcSine ArcTangent ArcTangentXY asc ascii asciiToCharacters asFloating asin asInteger asString atan atan2 beep block broker CanAddUnit chr clearscreen cos cosine dayOfMonth DegreesToRadians degtorad do else endfunction endif endsub endwhile entryPrice exp exponent false findString findString for function goto hypot hypot hypotenuse if index instrument isFloating isInteger isString lcase left leftCharacters len log log10 |
long loop lowerCase ltrim max mid middleCharacters min mod monthNumber newPosition next not or order out pi RadiansToDegrees random right rightCharacters rtrim short sin sine sqr sqr squareRoot step stringLength sub system tan tangent test then to toJulian totalRisk trim trimLeftSpaces trimRightCharacters trimRightSpaces trimSpaces true type ucase unitSize until upperCase variables variables while xor |
Edit Time: 9/12/2020 10:28:44 AM |
Topic ID#: 250 |