DECLARE: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
In legacy versions such as [wikipedia:QBasic]/[wikipedia:QuickBASIC] the '''DECLARE''' keyword was used in the beginning of a program to declare the subroutines and functions used/defined in that program. Although this practice is still supported for compatibility with old code, it is no longer required in QB64, but instead it is used here to open a Library function block.
In legacy versions such as [[Wikipedia:QBasic|QBasic]] / [[Wikipedia:QuickBASIC|QuickBASIC]] the '''DECLARE''' keyword was used in the beginning of a program to declare the subroutines and functions used/defined in that program. Although this practice is still supported for compatibility with old code, it is no longer required in QB64, but instead it is used here to open a Library function block.




Line 7: Line 7:


{{PageSeeAlso}}
{{PageSeeAlso}}
* [[DECLARE DYNAMIC LIBRARY]]
* [[_OFFSET]]




{{PageNavigation}}
{{PageNavigation}}

Latest revision as of 22:59, 27 February 2024

In legacy versions such as QBasic / QuickBASIC the DECLARE keyword was used in the beginning of a program to declare the subroutines and functions used/defined in that program. Although this practice is still supported for compatibility with old code, it is no longer required in QB64, but instead it is used here to open a Library function block.


Syntax

DECLARE LIBRARY


See also



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