Skip to main content

Crate vb6runtime

Crate vb6runtime 

Source
Expand description

vb6runtime: VB6 runtime library - value system, type conversions, and standard library

This library provides the runtime execution infrastructure for VB6 programs:

  • VBType - the single source of truth for VB6 static types
  • VBVariant - runtime values with VB6-exact conversion semantics
  • boundary - typed-argument conversion at the host/library boundary
  • ArrayValue - VB6 arrays with arbitrary bounds
  • VBError - runtime errors mirroring the Err object

The standard library function implementations live under library:: and are added incrementally, using VBVariant and VBType as their foundations. Process-global runtime state (the environment snapshot, RNG seed) lives under state:: and is shared across functions and statements.

Re-exports§

pub use array::ArrayDimension;
pub use array::ArrayValue;
pub use stdpicture::StdPicture;
pub use value::VBObject;
pub use value::VBVariant;
pub use value::CURRENCY_SCALE;

Modules§

array
VB6 array support.
boundary
Typed-argument boundary helpers.
civil
jiff civil date/time types re-exported for consumers that need to pass them across crate boundaries (e.g. interpreter configuration). Facilities for dealing with inexact dates and times.
error
Runtime error types, re-exported from vb6core. VB6 runtime error handling.
library
VB6 standard library implementations.
state
Process-global runtime state shared across the VB6 standard library.
stdpicture
StdPicture runtime representation.
types
Type system types, re-exported from vb6core. VB6 type system.
value
VB6 runtime values.

Structs§

VBError
A VB6 runtime error, mirroring the Err object.

Enums§

VBType
The static type of a VB6 value, variable, or procedure.

Constants§

VERSION
Library version.

Type Aliases§

VBResult
Convenience result type for runtime operations.