SPLat Logo

Literal formatting function L(item {,item ...})

NOTICE: Our web site is being updated, but is currently experiencing extreme slowness due to host issues. Please contact us directly.
NOTICE: SPLat Controls has moved. We are now at 1/85 Brunel Rd, Seaford, 3198. map
SPLat will be shut down for the Christmas Holiday season from Friday 20 December 2024 through Tuesday 7 January 2025. We will check emails periodically and will continue to process orders but at a slower pace. Santa hat

Literal formatting function L(item {,item ...})

The Literal formatting function is a catch-all that lets you send any arbitrary character to the display. Its arguments consist of one or more items, separated by commas.

Items can be:

Form Description Example

"string"

Any text string in quotes

#HMI Print(L("Hello World") ;Legal, but probably pointless

Number

An 8-bit number (0 to 255) in SPLat format. This defines the ASCII character that will be sent to the display.

#HMI Print(L('0D, '0A)) ;Send CR/LF to the display

You cannot have other formatting functions inside L()

Note that while the syntax is case-insensitive, it makes sense to use upper case L to avoid confusion with a numeral 1.