mslot_get - Get memory slot number
uint8 mslot_get();
Get the current memory slot number.
The memory slot number can go from 1 to 9. The 255 value means the script is running via Test and Debug command and is not associated with any memory slot. |
Returns the current memory slot number.
init { printf("Current memory slot number: %d", mslot_get()); }