Intrinsic Conversions
Username:  
Password:
  > Home
> User Guide
v Reference
    > Introduction
    > CROFT
    v BEE Variables
       > BEE Variable Name
       o BEE Variable Value
       v BEE Conversions
          o Intrinsic Conversions
          o User-defined Conversions
          o To string or not to string
    > BEE Syntax
    > BEE Commands
    > Database Operation
    > Content Management
    > Objects and Classes
    > Interface with others
    o Glossary
> Portal Object
> Development Guide


Shortcuts
sys Class
debug Class
Intrinsic Conversions
>> Reference >> BEE Variables >> BEE Conversions >> Intrinsic Conversions <=  =>      <  1  2  3  4  5  6  >  
Conversions built into BEE

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.

 

Previous Page       Next Page

Accsoft Computer Technology Pty Ltd     ABN: 98 065 617 549
PO Box 892, Epping NSW 1710         Level 1, Epping Office Park, 242 Beecroft Rd, Epping NSW 2121, Australia
Tel: Sydney - (02)98691668     National - 1300-881668         Fax: (02)98691866
© Copyright 2003 Accsoft Computer Technology Pty Ltd