t2:mslot_get

mslot_get


mslot_get - Get memory slot number

Description


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.

Return Value


Returns the current memory slot number.

Examples


Example #1 mslot_get() example

init {
    printf("Current memory slot number: %d", mslot_get());
}

See Also

t2/mslot_get.txt · Last modified: 2016/12/04 04:57 by J2Kbr