GLBasic forum

Main forum => GLBasic - en => Topic started by: erico on 2017-Jun-15

Title: Array inside Integer command
Post by: erico on 2017-Jun-15
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.  :-[
Title: Re: Array inside Integer command
Post by: Schranz0r on 2017-Jun-15
 =D
Title: Re: Array inside Integer command
Post by: erico on 2017-Jun-16
That is what you get when using lots of arrays without the proper experience, :D
Title: Re: Array inside Integer command
Post by: Moru on 2017-Jun-16
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... :-)
Title: Re: Array inside Integer command
Post by: erico on 2017-Jun-17
Yep...the array-out-of-bound is a monster well settled under the bed... =D