O · Built-in API

On this page

Every signature below comes from the current compiler’s public API. Overloads share a heading. BYREF requires exclusive writable access; TAKE transfers ownership; FAILS lists checked errors. See the teaching chapters and library references for behavior and examples.

OffsetAt

FUNCTION OffsetAt(value AS TimeZone,instant AS Instant) AS UtcOffset FAILS DateTimeError

OffsetOf

FUNCTION OffsetOf(value AS OffsetDateTime) AS UtcOffset
FUNCTION OffsetOf(value AS OffsetTime) AS UtcOffset
FUNCTION OffsetOf(value AS ZonedDateTime) AS UtcOffset FAILS DateTimeError

OffsetSeconds

FUNCTION OffsetSeconds(value AS UtcOffset) AS INTEGER

OpenDatabase

FUNCTION OpenDatabase(path AS STRING) AS DATABASE FAILS SqliteError

OpenDirectory

FUNCTION OpenDirectory(path AS STRING) AS File FAILS IoError

OpenFile

FUNCTION OpenFile(path AS STRING,mode AS STRING="r") AS File FAILS IoError

OpenFileBelow

FUNCTION OpenFileBelow(root AS File,path AS STRING) AS File FAILS IoError,StringError

OpenPseudoTerminal

FUNCTION OpenPseudoTerminal() AS PseudoTerminal FAILS IoError

OpenTerminal

FUNCTION OpenTerminal() AS Terminal FAILS IoError

Find your way around BASIL

Type to search the manual.