return
Username:  
Password:
  > Home
> User Guide
v Reference
    > Introduction
    > CROFT
    > BEE Variables
    > BEE Syntax
    v BEE Commands
       > Variable Operations
       > Conditional
       > Loop
       v Module Calling
          o function
          o return
          o global
          o parent
          o include
          o exec
          o exit
       > 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 >> Module Calling >> return <=  =>      <  1  >  
return – stop executing a function and return to the caller

BEE Script:   return [status=num] [message=string];

 

BEE Tag:     <beereturn [status=num] [message=string]>

 

The command "return" stops the function execution and returns to the caller, optionally with a status code and a message text, which can be accessed by the caller via status%functionName and message%functionName.  (Please see "function".)

Parameters

status specifies a positive number to return to the caller via status%functionName.  Default is 0.

message specifies a message text to return to the caller via message%functionName.  Default is an empty string.

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