INTEGER64: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:_INTEGER64}} _INTEGER64 is an 8 byte number type definition that can hold whole numerical values. {{PageSyntax}} : DIM {{Parameter|variable}} AS _INTEGER64 {{PageDescription}} * Can be used in 32 or 64 bit computers. * Signed numerical values can range from -9223372036854775808 to 9223372036854775807. * _UNSIGNED _INTEGER64 values range from 0 to 18446744073709551615 on 64 bit computers. * Variable type suffix is '''&&''' or ''...")
 
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:_INTEGER64}}
{{DISPLAYTITLE:_INTEGER64}}
[[_INTEGER64]] is an 8 byte number type definition that can hold whole numerical values.  
[[_INTEGER64]] is an 8 byte number type definition that can hold whole numerical values.




Line 8: Line 8:


{{PageDescription}}
{{PageDescription}}
* Can be used in 32 or 64 bit computers.
* Can be used in 32 bit and 64 bit systems.
* Signed numerical values can range from -9223372036854775808 to 9223372036854775807.
* Signed numerical values can range from -9223372036854775808 to 9223372036854775807.
* [[_UNSIGNED]] [[_INTEGER64]] values range from 0 to 18446744073709551615 on 64 bit computers.
* [[_UNSIGNED]] [[_INTEGER64]] values range from 0 to 18446744073709551615.
* Variable type suffix is '''&&''' or '''~&&''' for [[_UNSIGNED]]. Suffix can also be placed after a literal or hexadecimal numerical value.  
* Variable type suffix is '''&&''' or '''~&&''' for [[_UNSIGNED]]. Suffix can also be placed after a literal or hexadecimal numerical value.
* Values can be converted to 8 byte [[ASCII]] character strings using [[_MK$]] and back using [[_CV]].
* Values can be converted to 8 byte [[ASCII]] character strings using [[_MK$]] and back using [[_CV]].
* Equivalent to INT8 or unsigned as UINT8 in C programming.
* '''When a variable has not been assigned or has no type suffix, the value defaults to [[SINGLE]].'''
* '''When a variable has not been assigned or has no type suffix, the value defaults to [[SINGLE]].'''


Line 22: Line 21:
* [[_UNSIGNED]]
* [[_UNSIGNED]]
* [[_CV]], [[_MK$]]
* [[_CV]], [[_MK$]]
* [[PDS (7.1) Procedures#CURRENCY|CURRENCY]]
* [[PDS(7.1) Procedures#CURRENCY|CURRENCY]]
* [[Variable Types]]
* [[Variable Types]]




{{PageNavigation}}
{{PageNavigation}}

Latest revision as of 18:03, 29 January 2023

_INTEGER64 is an 8 byte number type definition that can hold whole numerical values.


Syntax

DIM variable AS _INTEGER64


Description

  • Can be used in 32 bit and 64 bit systems.
  • Signed numerical values can range from -9223372036854775808 to 9223372036854775807.
  • _UNSIGNED _INTEGER64 values range from 0 to 18446744073709551615.
  • Variable type suffix is && or ~&& for _UNSIGNED. Suffix can also be placed after a literal or hexadecimal numerical value.
  • Values can be converted to 8 byte ASCII character strings using _MK$ and back using _CV.
  • When a variable has not been assigned or has no type suffix, the value defaults to SINGLE.


See also



Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link