PDA

View Full Version : Entering ASCII codes in the Girder



zones
January 10th, 2005, 01:03 PM
A simple question

Within the varible maniplulation script editor how would I insert a ASCII code for carrage return in to a string. I am tring to use this together with the lulasocket plugin.

E.g. "Test <CR>"

Cheers
Zones

Rob H
January 10th, 2005, 01:13 PM
You'd use a \r ie "Test\r"

Other control codes can be found in the LUA 4.0 manual at http://www.lua.org/manual/4.0

zones
January 10th, 2005, 01:28 PM
Rob,

The joy at last I can now open and close relays on my global Cache device. Thanks a million.

Geoff

Rob H
January 10th, 2005, 01:55 PM
Glad to help

Promixis
January 10th, 2005, 02:36 PM
Geoff, please post you code

note there are also the

strbyte and strchar functions.

zones
January 11th, 2005, 10:01 AM
I am moving on to sending IR via the Global Cache I will post the results altogtherwhen my mission is complete.

Cheers
Zones