irishmike
Experienced Member
Hi Guys:
I am beginning the process of converting one of my QuickBasic programs (this was DOS on a later Tandy 1000 machine) to LBASIC.
Some of the commands that I am sure are going to be unecessary are 'KEY OFF" since that dealt with the function key map on the QB editor and screens. But there are few that might need a BASIC to BASIC translation... here is a list of a few that I know I need to find equivalent commands for:
LOCATE -- used to position a string on the screen given the line number and column number (eg LOCATE 1, 25 yeilds the start character is at ROW 1 and COL 25 on the screen.)
CHR$(x) gives the character that X represents (eg on QB CHR$(205) yeilds a "-" on the screen)
Need to generate a random number, in QB RANDOMIZE TIMER and then a statement like I= INT(15 * RND) +1 gives us a number between 1 and 15.
There may be others as I get into it, but those are the "biggies" for now.
Help is appreciated, as always.
Mike
ALSO: How do I save the BASIC file to my :1 drive. I have a data disk on that place and tried SAVE":1 EXAMPLE/BAS", A and it did not like the file name.
I am beginning the process of converting one of my QuickBasic programs (this was DOS on a later Tandy 1000 machine) to LBASIC.
Some of the commands that I am sure are going to be unecessary are 'KEY OFF" since that dealt with the function key map on the QB editor and screens. But there are few that might need a BASIC to BASIC translation... here is a list of a few that I know I need to find equivalent commands for:
LOCATE -- used to position a string on the screen given the line number and column number (eg LOCATE 1, 25 yeilds the start character is at ROW 1 and COL 25 on the screen.)
CHR$(x) gives the character that X represents (eg on QB CHR$(205) yeilds a "-" on the screen)
Need to generate a random number, in QB RANDOMIZE TIMER and then a statement like I= INT(15 * RND) +1 gives us a number between 1 and 15.
There may be others as I get into it, but those are the "biggies" for now.
Help is appreciated, as always.
Mike
ALSO: How do I save the BASIC file to my :1 drive. I have a data disk on that place and tried SAVE":1 EXAMPLE/BAS", A and it did not like the file name.
Last edited: