BEE Commands
Username:  
Password:
  > Home
> User Guide
v Reference
    > Introduction
    > CROFT
    > BEE Variables
    > BEE Syntax
    v BEE Commands
       > Variable Operations
       > Conditional
       > Loop
       > Module Calling
       > Remote Calling
       > Authentication
       > Data Access
       > Socket
       > Special Functions
    > 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 Commands <=  =>      <  1  2  >  
Notations Reference to BEE Commands

Even BEE Values are non-typed, BEE Commands do expect a certain pattern in some particular cases.  Those patterns are notated in this section in the following way:

string      A string of characters.  If white spaces are among them, the string needs to be enclosed by a pair of single or double quotation marks.  If the enclosing quotation mark appears in the string, it needs to be "escaped" by inserting a backslash ('') in front of the quotation mark.

char      A single character.

num      A string of numeric numbers (0 to 9, excluding dot)

bool      A non-zero number or a non-null string (except '0') to indicate a true value; and 0, '0', or a null string to indicate a false value.  Here are some examples of boolean conditions:

1      true
'1'      true
'...'      true
0      false
'0'      false
''      false

Note 1: '...' denotes any non-null string except '0' (so '00' is true)

Note 2: '!' in front of a boolean value will negate it (e.g. !0 is true)

name      A string of alphanumeric characters or underscore that starts with a non-numeric character.  Leading underscore string will be ignored.

var      A BEE Variable Name (Please see "BEE Variable Name").

value      A pattern in the form of (type)string, where type is interpreted by the specific BEE Command that the value is in.

class      A valid name for the "class" part of a BEE Variable.  (Please see "BEE Variable Name".)

file      A valid file path and file name.  Directory names are separated by forward slashes ('/').  For relative path, the system include path will be searched for the named file.

condition      A string that evaluates to a logical expression that can determine a TRUE or FALSE value.  The logical expression follows the same format of other programming languages like PHP.  (e.g. == means equal; != means not equal; >, >=, <, <= and other logical operators like &&, || etc can be used in the usual sense.)

statement      A valid BEE Script statement.

tag      A valid BEE Tag.

convSpec      A BEE Conversion name optionally followed by a colon (':') and an argument string.

souce      A special parameter in the (type)string format.  It is for the "foreach" tag only.  Please see "foreach" under "BEE Command Reference" for more details.

accessControlSpec      A special parameter for the "access" tag only.  Please see "access" under "BEE Command Reference" for more details.

URL      A valid URL.

emailAddress      A valid email address.

action      A string of that indicate an action specific for the command.

The above patterns are interpreted after the variable evaluation.  For example, if xyz is a variable containing "34", the value of 12{xyz}56 will be evaluated to "123456" and therefore is a num, instead of string as it may appear to be.

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