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

Comments

Comments are denoted by a "--" and all text after these symbols is ignored until the end of line.

=> null; -- An Ada style comment

As a special case, scripts may begin with a path to the interpreter as specified with "#!".  SparForte doesn't honor any parameters included with the path.

#!/usr/local/bin/spar

In this case, the operating system would look for SparForte in /usr/local/bin if the script file is executed directly.  This is the standard behavior for Linux and UNIX-based operating systems.

Indentation and Whitespace

Sparforte treats tabs as 8 spaces.

Whitespace at the end of a line is a style issue error.

Excessive identation whitespace is a style issue error.

 
[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]