1. The basics of 4DScript
The basic syntax of 4DScript is simple and is valid at any position where you can write 4DScript:
1. The language contains a number of words (commands);
2. These 4DScript commands can have (up to 255 )parameters;
3. The parameters are placed between parenthesis ( );
4. Parameters be values, strings or expressions(other 4DScript);
5. Parameters will always be separated by commas,
6. If a parameter should be interpreted as a string, the string paring parameters are always placed between square brackets [ ]. If the parameter should be executed as 4DScript code, the parameter is written in a normal fashion;
7. Comments can be placed between squiggly brackets { }.
These rules apply everywhere and are always valid. However, for some statements these rules do not result in very readable code. In order to make parts of the code easier to understand for others, the 4DScript syntax makes an exception in some cases. This applies in particular to mathematical and logical symbols.
1. The basics of 4DScriptThe basic syntax of 4DScript is simple and is valid at any position where you can write 4DScript:1. The language contains a number of words (commands);2. These 4DScript commands can have (up to 255 )parameters;3. The parameters are placed between parenthesis ( );4. Parameters be values, strings or expressions(other 4DScript);5. Parameters will always be separated by commas,6. If a parameter should be interpreted as a string, the string paring parameters are always placed between square brackets [ ]. If the parameter should be executed as 4DScript code, the parameter is written in a normal fashion;7. Comments can be placed between squiggly brackets { }.These rules apply everywhere and are always valid. However, for some statements these rules do not result in very readable code. In order to make parts of the code easier to understand for others, the 4DScript syntax makes an exception in some cases. This applies in particular to mathematical and logical symbols.
การแปล กรุณารอสักครู่..
