SimonLCFC
New member
I've written a small menu program for the SD2IEC that can access a series of programs on the root. It works perfectly so far, but one of the functions i've included is to switch the device ID at a keypress - this works fine, and can switch between 8 and 9, but it gives an error message if you try to switch to a device that it's already set as.
I need some basic that can pretty much do the following:
IF (device is 8 ) THEN GOTO (line xxx)
IF (device is 9 ) THEN GOTO (switch device to 8 subroutine)
Anything that can detect the Device ID and give off a variable?
X=DeviceID
So, IF X=8, blah blah, IF X=9, goto blah blah.
Does this make sense?
Can't find anything of use anywhere, and until the last two days, I haven't tried programming ANYTHING in years!
Si
I need some basic that can pretty much do the following:
IF (device is 8 ) THEN GOTO (line xxx)
IF (device is 9 ) THEN GOTO (switch device to 8 subroutine)
Anything that can detect the Device ID and give off a variable?
X=DeviceID
So, IF X=8, blah blah, IF X=9, goto blah blah.
Does this make sense?
Can't find anything of use anywhere, and until the last two days, I haven't tried programming ANYTHING in years!
Si