HARSFEN0602ElmoHARmonicaSoftwareManual

PRELIMINARYDRAFT

4.2.6.6User Function Calls

The XQ command enables a user function call. See Running of a User Program

A user function cannot be called from the command line without the XQ command.

4.3Comments

Comments are texts that

written into the code to enhance its readability.

A double asterisk marks comments. The comment starts in a double asterisk comment marker, and terminates at the next end of line.

The Amplifier ignores the comments when evaluating an expression.

Example:

mo=1; **motor on

This example demonstrates that a comment may start anywhere in the program line. The MO=1 instruction preceding the comment marker shall be executed.

Remark: Comments in the command line differ from comments in a user program. User Program Language has three methods to write comments, while the Interpreter Language has the only one.

27

Page 29
Image 29
Elmo HARSFEN0602, HARmonica software manual User Function Calls, Comments