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

Include

From FenixWiki

Revision as of 14:54, 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:

include "bar.inc";
program foo;
private
  int barcode;
begin
  write_int(0,100,100,&barcode);
  barcode = bar();
  repeat     
    frame; 
  until(key(_esc))
end  

bar.inc:

int bar()
begin
  return 5;
end

See also


Filetypes
FBMFGCFHFPGFPLINCMAPPALPNGPRG
Personal tools