This keyword enables you to include another source or a binary file into your source. INCLUDE has got three optional parameters.
Example | Meaning |
---|---|
INCLUDE"sample2.lumy" |
include the "sample2.lumy" source at the current position |
INCLUDE"DigiSFX.sfx4", |
include the whole "DigiSFX.sfx4" binary at the current position |
INCLUDE"castaway.prg",2 |
include the whole "castaway.prg" binary from 2 into the current position |
INCLUDE"charset.bin",$0400,$0200 |
include the "charset.bin" binary from $0400 to $0600 into the current position |
INCLUDE"picture.gfx4",2,,$2000 |
include the whole "picture.gfx4" binary from 2 at $2000 |
INCLUDE"heartlight.cbin",,1024,$6000 |
include the "heartlight.cbin" binary from 0 to 1023 at $6000 |
INCLUDE"chambers.pack",,,$66A0 |
include the whole "chambers.pack" binary at $66A0 |