Page History
...
Much like the Utility function in OpenInsight, the SRP_String function provides multiple services which are identified in the Service parameter. The services are:
Service | Description |
---|---|
DetokenizeCode | Converts an array of BASIC+ tokens into a string of BASIC+ code that can be compiled. |
GetHeight | Calculates the height a word-wrapped string would need given a certain font and width limit. |
GetWidth | Calculates the width a string would need given a certain font. |
TokenizeCode | Parses a string containing BASIC+ into an array of discrete BASIC+ tokens. |
Trim | A more advanced trim operation for OI strings. |
...