CALL ABSOLUTE: Difference between revisions
Jump to navigation
Jump to search
Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
: [[CALL ABSOLUTE]]([{{Parameter|argumentList}},] {{Parameter|integerOffset}}) | : [[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. | * [[CALL ABSOLUTE]] is implemented to support older code and is not recommended practice. To handle mouse input, use [[_MOUSEINPUT]] and related functions. | ||
Line 20: | Line 19: | ||
{{PageSeeAlso}} | {{PageSeeAlso}} | ||
* [[SADD]], [[INTERRUPT]] | * [[SADD]], [[INTERRUPT]] | ||
* [[_MOUSEINPUT]] | * [[_MOUSEINPUT]] | ||
{{PageNavigation}} | {{PageNavigation}} |
Latest revision as of 00:25, 28 January 2023
CALL ABSOLUTE is used to access interrupts on the computer or execute assembly type procedures.
Syntax
- CALL ABSOLUTE([argumentList,] 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.
Description
- CALL and parameter brackets are required in the statement.
- argumentList contains the list of arguments passed to the procedure.
- 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.
See also