Author Topic: INTEGER64  (Read 3958 times)

Offline bigsofty

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 2653
    • View Profile
INTEGER64
« on: 2016-Feb-29 »
INTEGER64(num#)

Seems to be undocumented(also not in the logs)?  :blink:

Converts a number to a 64bit integer.

Cheers,

Ian.

“It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration.”
(E. W. Dijkstra)

Offline Schranz0r

  • Premium User :)
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 5034
  • O Rly?
    • View Profile
Re: INTEGER64
« Reply #1 on: 2016-Mar-01 »
 :rtfm:
I <3 DGArray's :D

PC:
AMD Ryzen 7 1700 @3.9GHz, 16GB HyperX Fury 3000MHz Ram, ASUS ROG GTX 1060 STRIX 6GB, Windows 10 Pro 64Bit, MSi Tomahawk B350 Mainboard

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3800
    • View Profile
    • Space Fractal
Re: INTEGER64
« Reply #2 on: 2016-Mar-01 »
INTERGER64 is mostly only used for pointers in glbasic for supporting 64bit devices (iOS example).
Greedy Mouse - Karma Miwa - Spot Race - CatchOut - Android Extras - is on a vacation trip, home before end of few days in jan.

Offline Slydog

  • Prof. Inline
  • *****
  • Posts: 930
  • KodeSource
    • View Profile
    • KodeSource
Re: INTEGER64
« Reply #3 on: 2016-Mar-01 »
I need to use it for keeping track of how much money I've made programming games!   :P
My current project (WIP) :: TwistedMaze <<  [Updated: 2015-11-25]

Offline bigsofty

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 2653
    • View Profile
Re: INTEGER64
« Reply #4 on: 2016-Mar-01 »
I assumed that all variables are 32bit, so how can you store the result of this command?  :blink:

Slydog, your an inspiration to us all!  :D

Cheers,

Ian.

“It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration.”
(E. W. Dijkstra)

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3800
    • View Profile
    • Space Fractal
Re: INTEGER64
« Reply #5 on: 2016-Mar-01 »
INTERGER64 is required for iOS support, where 64bit pointers is required, which does uses INTERGER64.

Im do newer used it for any of my games. But its handy uses when integrate with example dll's and with long file sizes (movies).
Greedy Mouse - Karma Miwa - Spot Race - CatchOut - Android Extras - is on a vacation trip, home before end of few days in jan.

Offline erico

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4274
    • View Profile
    • Portfolio
Re: INTEGER64
« Reply #6 on: 2016-Mar-01 »
I need to use it for keeping track of how much money I've made programming games!   :P

Made my day! :D

Offline bigsofty

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 2653
    • View Profile
Re: INTEGER64
« Reply #7 on: 2016-Mar-01 »
INTERGER64 is required for iOS support, where 64bit pointers is required, which does uses INTERGER64.

Im do newer used it for any of my games. But its handy uses when integrate with example dll's and with long file sizes (movies).

Ah, fair enough, thought we'd maybe had a hidden type in there for a minute.
Cheers,

Ian.

“It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration.”
(E. W. Dijkstra)

Offline kanonet

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1142
    • View Profile
    • My GLBasic code archiv
Re: INTEGER64
« Reply #8 on: 2016-Mar-08 »
Why a hidden type? we officially got a 64bit integer, see the changelog for version 12.096:
Code: (glbasic) [Select]
   //    New data type: int64. Demo: LOCAL i64 AS int64; i64 = ...
   //        FILESEEK and GETFILESIZE work with int64 now.

So its just logical, that we also got an INTEGER64() converter function.
Lenovo Thinkpad T430u: Intel i5-3317U, 8GB DDR3, NVidia GeForce 620M, Micron RealSSD C400 @Win7 x64

Offline bigsofty

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 2653
    • View Profile
Re: INTEGER64
« Reply #9 on: 2016-Mar-08 »
Completely missed that one in the log, there's no "int64" in the manual either BTW.  :S
« Last Edit: 2016-Mar-08 by bigsofty »
Cheers,

Ian.

“It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration.”
(E. W. Dijkstra)

Offline kanonet

  • Administrator
  • Prof. Inline
  • *******
  • Posts: 1142
    • View Profile
    • My GLBasic code archiv
Re: INTEGER64
« Reply #10 on: 2016-Mar-09 »
There is so much stuff, thats not in the manual, especially the additions of the last 3 years. I think its save to say, that the manual is obsolete, outdated and one of the biggest flaws of GLBasic. Since the community project to renew it died, there is not much hope anymore.
Lenovo Thinkpad T430u: Intel i5-3317U, 8GB DDR3, NVidia GeForce 620M, Micron RealSSD C400 @Win7 x64

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10728
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: INTEGER64
« Reply #11 on: 2016-Mar-10 »
Huh? What's missing?

Offline Alex_R

  • Mr. Polyvector
  • ***
  • Posts: 238
    • View Profile
    • Axro Digital
Re: INTEGER64
« Reply #12 on: 2016-Mar-10 »
I agree. For instance, there is a severe lack of information about iPhone platform. In fact in www.glbasic.com/platform/ you don't find IOS archives. If someone new wants to compile for IOS is not possible following glbasic manual. We need Spacefractal (64bits) archives to do it. (Perhaps a little explanation in the manual and links to these archives?)
« Last Edit: 2016-Mar-10 by Alex_R »

Offline spacefractal

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 3800
    • View Profile
    • Space Fractal
Re: INTEGER64
« Reply #13 on: 2016-Mar-10 »
Would been nice if the online help was wiki based. Then we could update it.

Yes it's can been downloaded from the forum with my archive as well android.
Greedy Mouse - Karma Miwa - Spot Race - CatchOut - Android Extras - is on a vacation trip, home before end of few days in jan.

Offline erico

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 4274
    • View Profile
    • Portfolio
Re: INTEGER64
« Reply #14 on: 2016-Mar-10 »
...
 Since the community project to renew it died, there is not much hope anymore.

It didn´t die, it just didn´t kick start. Such project needs someone to lead it and as I recall, we all have time to put something in, but no one had time to lead it.
I´m sure if it resurfaces again people will help out.