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|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.
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.





Revision as of 15:52, 17 March 2023

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