Please enable JavaScript to view this site.

Instruction call without passing parameters

This Instruction causes execution of the specified subprogram, after which, execution resumes from the next instruction.

Syntax

call name()

name

It is the name of the function to be executed

Validity

Rule, Task

Note

Brackets used for parameter delimitation may be omitted, but only in case the function has no incoming parameters

Instruction call with parameter passing

Causes execution of the specified subprogram by providing it with the specified parameters, after which, execution resumes from the next Instruction.

Syntax

call name (val1, val2, ... , valn)

name

Is the name of the function to be executed

val1

Is the value of the first parameter passed to the function

val2

Is the value of the second parameter passed to the function

valn

Is the value of the nth parameter passed to the function

Validity

Rule, Task

Note

The data types of the parameters passed to function must match those declared in it.

In the case of passing a real value to a function in which a parameter of type integer has been declared, there will be an automatic type conversion, from real to integer, without error reporting

 

  

Keyboard Navigation

F7 for caret browsing
Hold ALT and press letter

This Info: ALT+q
Page Header: ALT+h
Topic Header: ALT+t
Topic Body: ALT+b
Contents: ALT+c
Search: ALT+s
Exit Menu/Up: ESC