thanks mars... that worked.
mike
On Oct 8, 2006, at 11:38 PM, Mars Saxman wrote:
On Oct 8, 2006, at 7:48 PM, Mike Woodworth wrote:
i'm trying to write a structure that has a pstring with a max
length of 63... this would be a lot easier if there where any
mention on structures in the language ref.
There's no built-in support for an inline pstring - only for a
pointer to a pstring. You will have to declare the field as String
* 64, then use ChrB and AscB to store the length in the first byte.
I suggest giving the field some cryptic name, then using a pair of
methods that extend the structure to get and set the value of the
field; this way you can hide away all the length byte code. Then
add this feature request to your watch list:
<http://support.realsoftware.com/feedback/viewreport.php?
reportid=izmsaata>
Mars Saxman
REAL Software
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>