That wretched backslash!
Tinker
Posts: 12
I'm a newby to Stamp Basic and struggling. I haven't been able to find a reference for the backslash operator. I use the Basic Stamp Manual, Ver 2.0 and haven't found it (backslash) defined yet. I saw that the new version (2.1) of the Basic Stamp Manual has been released and is available for download. I scanned the new version using the Adobe reader and still haven't come across the backslash operator defined. The context in which I find it used is the I2Cout and I2Cin commands. From the context of the backslash it would appear that it indicates that the two pieces of data are to be concatenated, but I could be completely wrong. There are some pretty sharp and experienced PBasic programmers on this forum, from what I have been reading. Could one of you enlighten me? Tnx
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Two roads diverged in a wood and I..I tooked the one less traveled by.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Two roads diverged in a wood and I..I tooked the one less traveled by.
Comments
It's not really an operator, more a special character in some commands.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
Post Edited (Jon Williams) : 12/29/2004 4:21:01 PM GMT
" I2COut SDA, $A0 | block, addr, [noparse][[/noparse]REP value\16]". value is type, byte. addr is WORD, and block is type, Nib.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Two roads diverged in a wood and I..I tooked the one less traveled by.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Dallas Office
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Two roads diverged in a wood and I..I tooked the one less traveled by.