Previous Topic

Next Topic

Book Contents

Book Index

# Hash commands and functions

Hash commands and hash functions were introduced in January 2012. They are supported in SPLat/PC Build 160 or later.

A hash command is written as a line that starts with a hash character, #, also called sharp or pound sign.

Example:

#	HMI	Cursor(3, 5)

In the above line of code the # in column 1 signals SPLat/PC to process the line as a hash command rather than a regular SPLat language instruction. In this particular example the hash command is HMI, while Cursor(3, 5) is what we call a hash function. (The distinction between "command" and "function" is important).

One hash command may have zero, one or more hash functions on the same line. This may and will vary between hash commands. Also, each hash command will have its own unique set of allowable hash functions.

Note that the # must be in column 1, where a line label might normally start. Therefore you can't label a hash command line. You can however have a label on the line before it and get the same effect.

This section is organized by hash command. Under each hash command you will find all the matching hash functions. The headings all start with a # character so they will all appear together in the index.

In This Section

# HMI hash command

# HMI_Log hash command

# HMI_Trace hash command

# Include hash command

# Open_Serial hash command

# Thermistor hash command