This content has been marked as final.
Show 2 replies
-
1. Re: How do I work around PIGetStr placing an invalid character in character buffer?
ilvar Sep 6, 2013 2:07 PM (in response to drelidan)From PITypes.h:
typedef unsigned char Str255[256]; /* first byte length of string. The string is zero terminated. */
It's pure legacy - this is how strings in ol' good Pascal used to be organized
-
2. Re: How do I work around PIGetStr placing an invalid character in character buffer?
drelidan Sep 6, 2013 2:15 PM (in response to ilvar)So, those things that show up in green tell you how to use someone elses programming constructs. Fascinating stuff.
/facepalm. I even went to the definition in PITypes.h, and looked at it and was like "Hey, it's an unsigned character array of 256 characters" and never read the comment next to it.
Thank you for answering my question. It seems like I need to pay more attention to details in the future.

