t3x.org / t3x / t3x-manual / 272.html
 
T3X - A Minimum Procedural Language
Version 8.1.5, Online Edition
Copyright(C) 1996-2004
Nils M Holm
 
Previous:
2.7.1 Assignments
TOC | Index | Back Next:
2.7.3 Conditional Statements

2.7.2 Procedure Calls

The application of a procedure may form a complete statement:

fill(a, 'X', 10);

In this case, the return value of the called procedure will be discarded and only the side effects of the procedure will actually take effect. The side effect of the above statement, for example, could be to fill the first 10 characters of the vector a with the character 'X'.

Each procedure - no matter whether it returns a specific value or not - may be used in a standalone procedure call. For details on procedure calls, see the the sections on factors and procedures in this manual.

Messages, which are related to procedure calls, can also form complete statements. Details are explained in the section about methods and messages.

Previous:
2.7.1 Assignments
TOC | Index | Back Next:
2.7.3 Conditional Statements