mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-06 01:10:23 +00:00
6912727753
Help file snapshot as of 07/31/2022.
28 lines
1.1 KiB
Plaintext
28 lines
1.1 KiB
Plaintext
{{QBDLDATE:07-31-2022}}
|
|
{{QBDLTIME:23:40:55}}
|
|
[[CALL ABSOLUTE]] is used to access interrupts on the computer or execute assembly type procedures.
|
|
|
|
|
|
{{PageSyntax}}
|
|
: [[CALL ABSOLUTE]]([{{Parameter|argumentList}},] {{Parameter|integerOffset}})
|
|
|
|
|
|
===Legacy support===
|
|
* [[CALL ABSOLUTE]] is implemented to support older code and is not recommended practice. To handle mouse input, use [[_MOUSEINPUT]] and related functions.
|
|
|
|
|
|
{{PageDescription}}
|
|
* [[CALL]] and parameter brackets are required in the statement.
|
|
* {{Parameter|argumentList}} contains the list of arguments passed to the procedure.
|
|
* {{Parameter|integerOffset}} contains the offset from the current code segment, set by [[DEF SEG]] and [[SADD]], to the starting location of the called procedure.
|
|
* QBasic and '''QB64''' have the ABSOLUTE statement built in and require no library, like QuickBASIC did.
|
|
* '''NOTE: QB64 does not support INT 33h mouse functions above 3 or [[BYVAL]] in an ABSOLUTE statement. Registers are emulated.'''
|
|
|
|
|
|
{{PageSeeAlso}}
|
|
* [[SADD]], [[INTERRUPT]]
|
|
* [[_MOUSEINPUT]]
|
|
|
|
|
|
{{PageNavigation}}
|