Gw basic nested loop programs

broken image

BASICA added a large number of features for the IBM PC such as sound, graphics, and memory commands. MBASIC programs not using PEEK/POKE statements would run under GW-BASIC. First of all, you don't need STEP, because the default step value is always 1.Ĭonversely, BASIC-80/BASICA/GW-BASIC does not allow the line crunching in 6502 versions (where no spaces are required on a program line). CLS FOR Outer = 1 TO 5 STEP 1 FOR in = CHR$(65) TO CHR$(70). Im taking a qbasic class and am having a very hard time on this program.here is the question: Using the ASCII table and the CHR$ function, write a program that prints the following output using a nested for next loop: A AB ABC ABCD ABCDE - heres what I have so far.i keep getting a 'type mismatch': CLS FOR Outer = 1 TO 5 STEP 1 FOR in = CHR$(65) TO CHR$(70).

broken image
broken image
broken image

Gw Basic Nested Loop Programs 9,4/10 2780votes