strange char translation from intel to ppc
Stephen Barncard
stephenREVOLUTION2 at barncard.com
Wed Oct 8 18:16:24 EDT 2008
did you put the actual characters within quotes in the script
set the itemdelimiter to "
"
or use numToChar()
I would always use the latter - script editors don't like some
non-printing characters imbedded in a script, sometimes even within
quotes.
>I have a stack where I use some non-printable ascii chars as delimiters
>(specifically, ascii 30 and 29). This stack worked fine on the Windows and
>Linux versions of 3.0 (well, until they crashed or went berserk, but
>everyone's tired of that story). However, when I moved the stack over to OS
>X (ppc), the application stopped working. Upon investigation it turned out
>that the delimiters had swapped - they were now ascii 222 and 218.
>
>Is that to be expected? Nothing else in the stacks seems amiss, and I'm
>puzzled by this. I had seen some strange behaviour copying them between
>platforms. When copied by scp, the stacks were "corrupted", but copied fine
>by ftp binary. When copied by ftp as ascii, opening them crashed Rev 3.0 on
>OS X.
>
>It's not a big deal, but I suppose it might be a gotcha worth noting for
>anyone else who uses non-printable ascii chars as delimiters.
>
>Bernard
--
stephen barncard
s a n f r a n c i s c o
- - - - - - - - - - - -
More information about the use-livecode
mailing list