previous next top complete contents complete index framed top this page unframed
Figure 41–22. $msStr
| STRING PROCEDURE $msStr (CHARADR c; OPTIONAL INTEGER maxChars; OPTIONAL POINTER($area) area); |
$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.
MAINSAIL Language Manual, Section 41.23