Array inside Integer command

Previous topic - Next topic

erico

I can´t seem to do it.
Code (glbasic) Select
INTEGER ( bx [x] )
gives an error, is this supposed to be normal?
I can do it with a normal variable.

EDIT: Fake alarm, it works, never mind...did some bad calc on my end here.  :-[

Schranz0r

I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

erico

That is what you get when using lots of arrays without the proper experience, :D

Moru

Every time I come back just to do something simple in GLBasic I get hit on the head by an array or something else simple... :-)

erico

Yep...the array-out-of-bound is a monster well settled under the bed... =D