[SparForte][Banner]
[Top Main Menu] Intro | Tutorials | Reference | Packages | Examples | Contributors   [Back Page]      [Next Page]  

Other Statements/ Subprograms

null

The null statement doesn't do anything. It acts as a placeholder in contexts where statements or commands are required. There are no arguments.

Example:

if x > y then

   null; -- to be filled in later
end if;
GCC Ada equivalent: null
Bash equivalent: :
Perl equivalent: N/A
PHP equivalent: N/A
 

delay

Delay (sleep) for a specific number of seconds.

Example:

=> delay 3.5; -- wait 3 and a half seconds
GCC Ada equivalent: delay
Bash equivalent: sleep
Perl equivalent: sleep
PHP equivalent: sleep
 

logout

Unconditionally terminate an login session. In breakout mode, exit the script. In an interactive shell, return will terminate a shell that is not a login shell.

See Also: return

Example:

=> logout
logout;
^----^ warning: this is not a login shell: use return to quit
=> return
GCC Ada equivalent: return
Bash equivalent: logout
Perl equivalent: n/a
PHP equivalent: n/a
 
[Right Submenu]

 AdaScript versus GCC

 Case Sensitivity

 Reserved Words

 Comments

 Literals

 Bourne Shell Word Expansions

 Fundamental Types

 User-defined Types

 Enumerated Types

 Arrays

 Records

 Basic Assignment

 The @ and % Operands

 Command Argument Shortcuts

 Redirection and Pipelines

 Command Line Interaction

 Built-in Shell Commands

 The Current Directory

 Database Commands

 Flow of Control

 Other Statements/ Subprograms

 External Commands

 Block Statements and Subprograms

 TCP/IP Sockets

 Numeric Formatting with Put

 Interpreter Directives

 Command Line Options

 Command Reference

 ASCII and Latin_1 Character Sets

 Common Error Messages

 Common PHP Functions and the SparForte Equivalent

[Back to Top] Back To Top [Small Forte Symbol]