Hi,
I can’t seen to be able to use app.Read() :
pin = "0000"; pin2 = "0000"; pin2 = app.Read(pin, "", 4)
At the end, pin2 is equal to nil, and pin remains 0000, no matter what I enter as a pin. It’s probably a pass-by-reference vs pass-by-value issue. Any hints on this ?
Regards,
Igmar
It seems that the result of app.Read() get’s dumped to a channel var, whose name is the string value of the first argument.
I know its too late but hey it may help someone passing by like me .
to get the variable you should do it like this
app.Read(pin, "", 4) pin2 =channel.pin:get()