|
Forum Index : Microcontroller and PC projects : Test OPTION BASE setting?
| Author | Message | ||||
| erbp Senior Member Joined: 03/05/2016 Location: AustraliaPosts: 195 |
I would like to be able to programatically test the OPTION BASE setting. This thread has some very useful information on using PEEK to check the values of various OPTIONS, but the ones referenced are mostly related to display and touch settings. Does anyone know how to use PEEK to check the OPTION BASE setting? Phil. |
||||
| erbp Senior Member Joined: 03/05/2016 Location: AustraliaPosts: 195 |
I've found the answer to my question. Since the OPTION BASE setting is not one that is saved it is not visible via the PEEK method that can be used with saved options like AUTORUN, BAUDRATE, etc. OPTION BASE is used within the program, as long as it is before any DIMs/LOCALs that create arrays, and can again be re-used after a CLEAR to delete all variables. It's value (0 or 1) only really exists while the program is running. Phil. |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |