GLBasic forum

Main forum => GLBasic - en => Topic started by: bigsofty on 2016-Feb-29

Title: INTEGER64
Post by: bigsofty on 2016-Feb-29
INTEGER64(num#)

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

Converts a number to a 64bit integer.

Title: Re: INTEGER64
Post by: Schranz0r on 2016-Mar-01
 :rtfm:
Title: Re: INTEGER64
Post by: spacefractal on 2016-Mar-01
INTERGER64 is mostly only used for pointers in glbasic for supporting 64bit devices (iOS example).
Title: Re: INTEGER64
Post by: Slydog on 2016-Mar-01
I need to use it for keeping track of how much money I've made programming games!   :P
Title: Re: INTEGER64
Post by: bigsofty 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

Title: Re: INTEGER64
Post by: spacefractal 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).
Title: Re: INTEGER64
Post by: erico on 2016-Mar-01
Quote from: Slydog 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
Title: Re: INTEGER64
Post by: bigsofty on 2016-Mar-01
Quote from: spacefractal 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.
Title: Re: INTEGER64
Post by: kanonet 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.
Title: Re: INTEGER64
Post by: bigsofty on 2016-Mar-08
Completely missed that one in the log, there's no "int64" in the manual either BTW.  :S
Title: Re: INTEGER64
Post by: kanonet 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.
Title: Re: INTEGER64
Post by: Kitty Hello on 2016-Mar-10
Huh? What's missing?
Title: Re: INTEGER64
Post by: Alex_R 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?)
Title: Re: INTEGER64
Post by: spacefractal 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.
Title: Re: INTEGER64
Post by: erico on 2016-Mar-10
Quote from: kanonet on 2016-Mar-09
...
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.