#include_once
- preprocessor include (once) command

Miscellaneous functions
(AmiBroker 4.70)


SYNTAX #include ''formula file path''
RETURNS nothing
FUNCTION Includes external AFL files into your formula. Similar to #include but #include_once performs inclusion only once per formula. So if single formula has multiple #include_once commands for the same file (for example because of drag-and-drop overlay) it prevents syntax errors that could occur due to repeated definitions of functions in included file. More information can be found in #include command docs.
EXAMPLE #include_once ''myfile.afl''
SEE ALSO #include() function

References:

The #include_once function is used in the following formulas in AFL on-line library:

More information:

See updated/extended version on-line.