Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Metacommand
#5
(07-28-2024, 11:44 PM)eoredson Wrote: My reasoning is thus:

The code is for Strek from bcg.zip of David Ahl.. (in the games forum).

It is not only QB backward compatible but the original source is line number oriented for basica.com
so I left the line numbers in.. Then I noticed the metacommands not being supported..

No great deal but an interesting question!

Erik.

You can simply enter a metacommand in between line numbers without affecting the flow of a program.

Even if you could put a metacommand on a line number you would not be able to run the modified code in GW-Basic (BASICA) any way. In other words, QB64 code (metacommands in this case) is not backwards compatible with GW-Basic.


10 CLS
20 PRINT "COUNT FROM 1 TO 32767"
$CHECKING:OFF
30 FOR I = 1 TO 32767
40 PRINT "I";
50 NEXT I
$CHECKING:ON
New to QB64pe? Visit the QB64 tutorial to get started.
QB64 Tutorial
Reply


Messages In This Thread
Metacommand - by eoredson - 07-27-2024, 04:16 AM
RE: Metacommand - by TerryRitchie - 07-27-2024, 06:12 AM
RE: Metacommand - by bplus - 07-27-2024, 02:38 PM
RE: Metacommand - by eoredson - 07-28-2024, 11:44 PM
RE: Metacommand - by TerryRitchie - 07-29-2024, 12:54 AM
RE: Metacommand - by eoredson - 07-29-2024, 03:45 AM
RE: Metacommand - by SMcNeill - 07-29-2024, 04:39 AM
RE: Metacommand - by DSMan195276 - 07-29-2024, 04:35 PM



Users browsing this thread: 3 Guest(s)