DECLARE: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
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]] / [[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.





Revision as of 15:09, 17 March 2023

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.


Syntax

DECLARE LIBRARY


See also



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