Loading Resources from Classpath

In BBj 25.12 and higher, you can load resources directly from a JAR in your classpath by using the !! prefix when referencing the resource. This syntax can be used anywhere a file path is used. Note that the resource will be loaded as a read-only resource, and cannot be modified or saved when loaded from a JAR in the classpath.

Syntax

!!<filepath>

Examples

load "!!demos/Choosers/ColorChooser/BBjColorChooser.src

See Also

LOAD Verb - Load File

USE Verb

CALL Verb

CALL Verb - BBj

RESOPEN() Function - Open Resource File

RESOPEN() Function

OPEN Verb - Open File

OPEN Verb - Open File BBj

PREFIX Verb - Set File System Search Paths

PREFIX Verb - Set File System Search Paths - BBj