Skip to main content

Loaded

Type Alias Loaded 

Source
pub type Loaded = Loaded<Rc<Compiled>>;

Aliased Type§

pub struct Loaded {
    pub compiled: Option<Rc<Compiled>>,
    pub name: String,
    pub base: usize,
    pub files: Vec<Option<Open>>,
    pub locked: Vec<bool>,
    pub initialized: bool,
    pub active: bool,
    pub dynamic: bool,
    pub entry: Option<usize>,
    pub altered: Vec<Option<usize>>,
    pub source: Option<PathBuf>,
}

Fields§

§compiled: Option<Rc<Compiled>>

None for the first program, which the caller of the run unit owns.

§name: String§base: usize§files: Vec<Option<Open>>§locked: Vec<bool>

The files CLOSE WITH LOCK has closed, which OPEN refuses with status 38.

§initialized: bool§active: bool§dynamic: bool

A dynamic CALL has entered it, so CANCEL acts on it.

§entry: Option<usize>

For a copy a dynamic CALL of an ENTRY name loaded, that entry (numbered as [Loader::entry] numbers them); None for the program loaded by its PROGRAM-ID.

§altered: Vec<Option<usize>>

Where each paragraph’s GO TO goes since an ALTER, by paragraph; empty until one runs.

§source: Option<PathBuf>

The library file CALL loaded the program from; None for the programs of the first source.