Author Topic: Array inside Integer command  (Read 201 times)

Offline erico

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4001
    • View Profile
    • Portfolio
Array inside Integer command
« 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.  :-[
« Last Edit: 2017-Jun-15 by erico »

Offline Schranz0r

  • Premium User :)
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 4947
  • O Rly?
    • View Profile
Re: Array inside Integer command
« Reply #1 on: 2017-Jun-15 »
 =D
I <3 DGArray's :D

PC:
AMD RYzen 7 1700 @3.9Ghz, 16GB HyperX Fury 2600Mhz Ram, HIS 7970 GHz Edition @3GB, Windows 10 Pro 64Bit, MSi Tomahawk B350 Mainboard

Offline erico

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4001
    • View Profile
    • Portfolio
Re: Array inside Integer command
« Reply #2 on: 2017-Jun-16 »
That is what you get when using lots of arrays without the proper experience, :D

Offline Moru

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1748
    • View Profile
    • Homepage
Re: Array inside Integer command
« Reply #3 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... :-)

Offline erico

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4001
    • View Profile
    • Portfolio
Re: Array inside Integer command
« Reply #4 on: 2017-Jun-17 »
Yep...the array-out-of-bound is a monster well settled under the bed... =D