|
Intrinsic conversions are a set of built-in conversions that handles common needs in programming a commercial web site.
In the following descriptions, the input string is passed by value instead of by reference (unless explicitly specified). It does not matter when converting a value, but when converting a variable, the changes will NOT be reflected on the variable.
Example:
var x = "apple";
var x conv="uppercase" display=1; // display "APPLE"
display "{x}"; // x is still "apple"
var y = "{x}" conv="uppercase";
display "{y}"; // y is "APPLE"
Note: Convert-by-reference has a "side-effect" that an undefined variable will be defined after being converted by reference.
In the following descriptions of BEE Conversions, when a true or false is said to be returned, in fact, a literal 1 or 0 will be return respectively. You can use the result quoted or unquoted. They means the same. However, quoting even a boolean is safer in case there's a program bug that set a boolean-to-be as a null string.
The following is a list of Intrinsic BEE Conversions.
|