MAINSAIL Language Manual, Section 41.23

previous   next   top   complete contents   complete index   framed top   this page unframed


41.23. $msStr

Figure 41–22. $msStr
STRING
PROCEDURE   $msStr      (CHARADR c;
                         
OPTIONAL INTEGER maxChars;
                         
OPTIONAL POINTER($areaarea);

$msStr is useful for converting a NUL-terminated C string to a MAINSAIL STRING.

$msStr forms an inplace STRING using $msStrInPlace; then, if the result is not the empty STRING, copies the STRING text into area (which defaults to $defaultArea) and returns a STRING descriptor for the copied text.


previous   next   top   complete contents   complete index   framed top   this page unframed

MAINSAIL Language Manual, Section 41.23