show
Username:  
Password:
  > Home
> User Guide
v Reference
    > Introduction
    > CROFT
    > BEE Variables
    > BEE Syntax
    v BEE Commands
       > Variable Operations
       v Conditional
          o if
          o else
          o elseif
          o switch
          o case
          o hide
          o show
       > 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 >> Conditional >> show <=  =>      <  1  >  
show – unconditional execution of a block

BEE Script:   show statement;

            [else statement;]

or          show { statement; ... }

            [else { statement; ... }]

 

BEE Tag:     <beeshow>

                  tag

                  ...

            [<beeelse>

                  tag

                  ...]

            </beeshow>

 

The "show" command specifies the following command or block of commands to be executed.  It is equivalent to "if (true)" and is trivial in nature.  It is included in the design for the ease of reversing the effect of "hide".

For example, you can prepare two blocks of codes, one for debugging and one for live.  Usually, you put the debug code into the "hide" block and the live code into the "else" block.  When you want to use the debug code temporarily, you can change the "hide" command to a "show" command.  When you finish, change "show" back to "hide" to resume live operation.

Note: "show" starts an "if" block structure and therefore an "else" or an "elseif" tag can follow the conditional block.

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