t3x.org / t3x / t3x-manual / 312.html
 
T3X - A Minimum Procedural Language
Version 8.1.5, Online Edition
Copyright(C) 1996-2004
Nils M Holm
 
Previous:
3.1.1 Object Names
TOC | Index | Back Next:
3.2 T3X -- Core Routines

3.1.2 Argument Descriptions

Argument descriptions are given in the following format:

Object . Method (arg1, ..., argN) ! type1, ..., typeN => typeR

where

In this context, 'type' is rather a weak attribute, since T3X is a typeless language. In many cases 'type' means a pointer to a structure having a specific layout.

The following types are used in this document:

Type Description
Bvec a vector of bytes
Char a small integer (0<=n<=255), frequently representing
  a character
Ddesc a directory descriptor
Fdesc a file descriptor
IOS an I/O-stream
Num a numeric value
Str a NUL-terminated string
Vec a vector of machine words

Returned types may depend on the successful termination of a method. Such cases are listed, for example, as

Fdesc | -1

meaning 'either a file descriptor or minus 1'. Literal numbers in return types represent themselves.

Previous:
3.1.1 Object Names
TOC | Index | Back Next:
3.2 T3X -- Core Routines