This wiki is out of date, use the continuation of this wiki instead

Include

From FenixWiki

Revision as of 14:53, 19 March 2008 by 212.123.12.180 (Talk)
Jump to: navigation, search

Definition

Include files to the current file. These files (*.INC) contain code that gets appended to the current file.

Example

main.prg: [code]

include "bar.inc"; program foo; private

 int barcode;

begin

 write_int(0,100,100,&barcode);
 barcode = bar();
 repeat     
   frame; 
 until(key(_esc))

end

[/code]

bar.inc: [code]

int bar() begin

 return 5;

end

[/code]

See also


Filetypes
FBMFGCFHFPGFPLINCMAPPALPNGPRG
Personal tools