| Home | Getting Started | Browse by Category | Class Methods | Low-Level API |
Copies the current readable class error text and returns the current error code.
GetLastError PROCEDURE(*CSTRING pErrorText),LONG
Copies the current readable class error text and returns the current error code.
| Parameter | Type | Description |
|---|---|---|
| pErrorText | *CSTRING | Receives the current readable class error text. |
Returns the current class error code and copies the readable text into pErrorText.
ErrorText CSTRING(2048)
ErrorCode LONG
CODE
ErrorCode = Toml.GetLastError(ErrorText)
IF ErrorCode < 0
MESSAGE(ErrorText,'ProTOML Error')
END
| Home | Getting Started | Browse by Category | Class Methods | Low-Level API |