embedding_20resources_20in_20different_20folders
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
embedding_20resources_20in_20different_20folders [2018/03/31 13:19] – external edit 127.0.0.1 | embedding_20resources_20in_20different_20folders [2024/01/05 00:22] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 4: | Line 4: | ||
==== Background ==== | ==== Background ==== | ||
\\ BBC BASIC for Windows defines two system variables **@dir$** and **@lib$** which contain the paths to two important directories; | \\ BBC BASIC for Windows defines two system variables **@dir$** and **@lib$** which contain the paths to two important directories; | ||
+ | <code bb4w> | ||
INSTALL @lib$+" | INSTALL @lib$+" | ||
INSTALL @lib$+" | INSTALL @lib$+" | ||
Line 9: | Line 10: | ||
OSCLI " | OSCLI " | ||
SYS " | SYS " | ||
+ | </ | ||
The use of these system variables is particularly important when you want to ' | The use of these system variables is particularly important when you want to ' | ||
==== Advanced use ==== | ==== Advanced use ==== | ||
\\ The above usage is standard, and is as described in the main BB4W help documentation. However in practice things may not be quite as simple as this might imply. For example, suppose you want to run your program from a //read only// medium such as a CD-ROM, or you want it to reside in a location on the target PC where the final user doesn' | \\ The above usage is standard, and is as described in the main BB4W help documentation. However in practice things may not be quite as simple as this might imply. For example, suppose you want to run your program from a //read only// medium such as a CD-ROM, or you want it to reside in a location on the target PC where the final user doesn' | ||
+ | <code bb4w> | ||
INSTALL @lib$+" | INSTALL @lib$+" | ||
INSTALL @lib$+" | INSTALL @lib$+" | ||
Line 17: | Line 20: | ||
OSCLI " | OSCLI " | ||
SYS " | SYS " | ||
+ | </ | ||
Here, the program' | Here, the program' | ||
+ | <code bb4w> | ||
INSTALL @lib$+" | INSTALL @lib$+" | ||
INSTALL @lib$+" | INSTALL @lib$+" | ||
Line 23: | Line 28: | ||
OSCLI " | OSCLI " | ||
SYS " | SYS " | ||
+ | </ | ||
Note the additional **" | Note the additional **" |
embedding_20resources_20in_20different_20folders.1522502358.txt.gz · Last modified: 2024/01/05 00:18 (external edit)