simple 2D vector graphics part 19
#2
There's a lot going on in that Asteroids demo. I especially liked this section of the code...

Code: (Select All)
$IF  THEN
        Pete:
        Oh, does anyone else like how using $IF/THEN works as a block REM statement?
        I mean I'd rather we had a QB64 block remark statement like the one used for JavaScript, but this hack will do.
$END IF

Big Grin

Note I removed the rem single quote marks. They are not needed inside a block $IF/THEN. That's the beauty of using it.

Pete
Reply


Messages In This Thread
simple 2D vector graphics part 19 - by madscijr - 11-18-2022, 04:18 AM
RE: simple 2D vector graphics part 19 - by Pete - 11-18-2022, 05:12 AM



Users browsing this thread: 2 Guest(s)