Macrospace Interface Returns

Return codes for the External Functions Interface are as follows. Each code indicates the cause of a failure in its respective function:

────────────────────────────────────────────────────────────────────────
 0      RXMACRO_OK                           The call to the function
                                             completed successfully.
 ──────────────────────────────────────────────────────────────────────
 1      RXMACRO_NO_STORAGE                   There was not enough
                                             memory to complete the
                                             requested function.
 ──────────────────────────────────────────────────────────────────────
 2      RXMACRO_NOT_FOUND                    The requested function was
                                             not found in the
                                             macrospace.
 ──────────────────────────────────────────────────────────────────────
 3      RXMACRO_EXTENSION_REQUIRED           An extension is required
                                             for the macrospace file
                                             name.
 ──────────────────────────────────────────────────────────────────────
 4      RXMACRO_ALREADY_EXISTS               Duplicate functions cannot
                                             be loaded from a
                                             macrospace file.
 ──────────────────────────────────────────────────────────────────────
 5      RXMACRO_FILE_ERROR                   An error occurred
                                             accessing a macrospace
                                             file.
 ──────────────────────────────────────────────────────────────────────
 6      RXMACRO_SIGNATURE_ERROR              A macrospace save file
                                             does not contain valid
                                             function images.
 ──────────────────────────────────────────────────────────────────────
 7      RXMACRO_SOURCE_NOT_FOUND             The requested file was not
                                             found.
 ──────────────────────────────────────────────────────────────────────
 8      RXMACRO_INVALID_POSITION             An invalid search-order
                                             position request flag was
                                             used.
────────────────────────────────────────────────────────────────────────


[Back: RexxReorderMacro - Returns]
[Next: Example]