OK, that would make sense.
Would this work then?
setattribute(A_CurrTime,'content',arraytostring(A_SeqTime[A_CurFrame]));
Or would I have to use my own conversion that I use with my keyboard page?
Thanks,
joeb
Next Lemur Update??
-
- Liine Staff
- Posts: 126
- Joined: 14 Dec 2011 12:12
Re: Next Lemur Update??
arraytostring will convert an array of ASCII values to a string, so here you'd have to first decompose your integer variable to such an array ('0' is 48, '9' is 57). It's a bit tedious but is the only solution until we add more string-related functions in the script engine.
Re: Next Lemur Update??
That's what my keyboard scripts do so I already have the code to do it. But the monitor solution works well and I will keep it the way it is.
Thanks for the help
joeb
BTW
Anyone who wants my code just download the LDJ template and look for convertAsc and convertDec. The first one will take a single ASCII character and convert it to the standard decimal value and the second does the reverse. At the very least it will save you having to look up the ASCII/decimal values.
jb
Thanks for the help
joeb
BTW
Anyone who wants my code just download the LDJ template and look for convertAsc and convertDec. The first one will take a single ASCII character and convert it to the standard decimal value and the second does the reverse. At the very least it will save you having to look up the ASCII/decimal values.
jb