INTEGER64(num#)
Seems to be undocumented(also not in the logs)? :blink:
Converts a number to a 64bit integer.
:rtfm:
INTERGER64 is mostly only used for pointers in glbasic for supporting 64bit devices (iOS example).
I need to use it for keeping track of how much money I've made programming games! :P
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
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).
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
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.
Why a hidden type? we officially got a 64bit integer, see the changelog for version 12.096:
// 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.
Completely missed that one in the log, there's no "int64" in the manual either BTW. :S
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.
Huh? What's missing?
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?)
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.
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.