simple 2D vector graphics
#3
Code: (Select All)
$IF  THEN
Type Name               Type suffix symbol   Minimum value                  Maximum value                Size in Bytes
---------------------   ------------------   ----------------------------   --------------------------   -------------
_BIT                    `                    -1                             0                            1/8
_BIT * n                `n                   -128                           127                          n/8
_UNSIGNED _BIT          ~`                   0                              1                            1/8
_BYTE                   %%                   -128                           127                          1
_UNSIGNED _BYTE         ~%%                  0                              255                          1
INTEGER                 %                    -32,768                        32,767                       2
_UNSIGNED INTEGER       ~%                   0                              65,535                       2
LONG                    &                    -2,147,483,648                 2,147,483,647                4
_UNSIGNED LONG          ~&                   0                              4,294,967,295                4
_INTEGER64              &&                   -9,223,372,036,854,775,808     9,223,372,036,854,775,807    8
_UNSIGNED _INTEGER64    ~&&                  0                              18,446,744,073,709,551,615   8
SINGLE                  ! or none            -2.802597E-45                  +3.402823E+38                4
DOUBLE                  #                    -4.490656458412465E-324        +1.797693134862310E+308      8
_FLOAT                  ##                   -1.18E-4932                    +1.18E+4932                  32(10 used)
_OFFSET                 %&                   -9,223,372,036,854,775,808     9,223,372,036,854,775,807    Use LEN
_UNSIGNED _OFFSET       ~%&                  0                              18,446,744,073,709,551,615   Use LEN
_MEM                    none                 combined memory variable type  N/A                          Use LEN
$END IF

I should make a copy of that for every program i write!

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 thi hack will do.

Pete
Reply


Messages In This Thread
simple 2D vector graphics - by madscijr - 10-27-2022, 07:45 PM
RE: simple 2D vector graphics - by bplus - 10-27-2022, 08:02 PM
RE: simple 2D vector graphics - by madscijr - 10-27-2022, 11:11 PM
RE: simple 2D vector graphics - by Pete - 10-27-2022, 10:03 PM
RE: simple 2D vector graphics - by madscijr - 10-27-2022, 11:14 PM
RE: simple 2D vector graphics - by mnrvovrfc - 10-27-2022, 11:33 PM
RE: simple 2D vector graphics - by madscijr - 10-28-2022, 01:59 AM
RE: simple 2D vector graphics - by Pete - 10-27-2022, 11:38 PM
RE: simple 2D vector graphics - by madscijr - 10-28-2022, 02:02 AM
RE: simple 2D vector graphics - by vince - 10-28-2022, 02:15 AM
RE: simple 2D vector graphics - by madscijr - 10-28-2022, 03:48 AM
RE: simple 2D vector graphics - by bplus - 10-28-2022, 05:32 PM
RE: simple 2D vector graphics - by madscijr - 10-28-2022, 06:58 PM
RE: simple 2D vector graphics - by bplus - 10-28-2022, 09:26 PM
RE: simple 2D vector graphics - by madscijr - 10-28-2022, 09:50 PM
RE: simple 2D vector graphics - by mnrvovrfc - 11-04-2022, 11:59 PM
RE: simple 2D vector graphics - by madscijr - 11-05-2022, 02:09 AM
RE: simple 2D vector graphics - by TempodiBasic - 11-08-2022, 10:17 AM
RE: simple 2D vector graphics - by madscijr - 11-08-2022, 12:25 PM



Users browsing this thread: 12 Guest(s)