Warning
You're browsing the old v2.x documentation. This version is no longer maintained. Click here to go the v3.x documentation.
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
incbin [2019/05/07 13:48] – created neils | incbin [2019/08/02 22:11] (current) – neils | ||
---|---|---|---|
Line 3: | Line 3: | ||
Syntax: | Syntax: | ||
- | incbin "filename" | + | incbin "path/ |
+ | |||
+ | Or - in combination with '' | ||
+ | |||
+ | data varname![] = incbin " | ||
The '' | The '' | ||
- | **Note**: the included file must be in the same folder where the **XC=BASIC** source is. | + | **Note**: the included file must be a path relative to the folder where the **XC=BASIC** source is. |
- | **Important note**: you have to be very careful | + | **Important note**: |
An example of wrong usage: | An example of wrong usage: |