Sage
Tusk Language
Welcome to Sage
Volume (35%) Hide Volume
Topics
Language Reference
Tusk is a statically typed interpreted programming language, implemented in, and largely similar to, Delphi.

The articles in this topic provide an introduction to the language, starting with a quick example program

Writeln('Hello, world!');

The above program prints out the message, "Hello, world", and demonstrates a few basic Tusk principles…

  • Writeln is a function that prints text.
  • Functions are called using parentheses, though as in Delphi, a zero-argument function can be called without parentheses.
  • Strings are enclosed in single-quote characters.
  • Semi-colons separate adjacent statements.

Tusk does not have a unit concept, and keywords such as unit, program, uses, interface, implementation, initialization, and finalization are not valid (though they are reserved as keywords, primarily for improved Delphi compatibility).

Last Modified: 2/15 9:51:46 am

Topic contents...
2/15 9:51:46 am