Loading...
Loading...
Loading...
Loading...
Tokens in BoxLang include the following:
Example: myVariable
, calculated_sum
Example: if
, component
, function
Operators: These are symbols that perform operations on one or more operands. They include arithmetic operators (+
, -
, *
, /
), comparison operators (==
, !=
, <
, >
), logical operators (&&
, ||
), and others.
Example: +
, ==
, &&
Example: 123
, "Hello, World!"
, true
, null
Punctuation: These are symbols that separate different parts of the code. They include parentheses ((
, )
), brackets ([
, ]
), braces ({
, }
), semicolons (;
), commas (,
), and others. Some symbols may also function as literal indicators.
Example: ;
, {
, }
Example: // This is a comment
, /* This is a multi-line comment */
Loading...
Loading...
Loading...
Loading...