$INCLUDEONCE

From QB64 Phoenix Edition Wiki
Revision as of 13:33, 8 February 2024 by RhoSigma (talk | contribs) (Created page with "The '''$INCLUDEONCE''' metacommand, when placed in include files, prevents that the file's contents can be injected multiple time into a program. {{PageSyntax}} : $INCLUDEONCE {{PageDescription}} * This Metacommand can be placed everywhere in an include file, but must be the only thing in the line, hence no additional whitespace or comments. * If placed in the main program, $INCLUDEONCE does nothing and is simply ignored without error. {{PageAvailability}}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The $INCLUDEONCE metacommand, when placed in include files, prevents that the file's contents can be injected multiple time into a program.


Syntax

$INCLUDEONCE


Description

  • This Metacommand can be placed everywhere in an include file, but must be the only thing in the line, hence no additional whitespace or comments.
  • If placed in the main program, $INCLUDEONCE does nothing and is simply ignored without error.


Availability


See also



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