RaggieScript v1.3.0
Browse Table of Contents (17 chapters)
Getting Started (2)
Language Reference (4)
Core Standard Library (3)
Windows, MSI SQL & Native FFI (3)
Wizard UI & Studio Sandboxes (3)
Diagnostics & Bytecode ISA (2)
Master Symbol Index

Master A–Z API, Function & Diagnostic Index

Every indexed namespace member, global built-in, type construct, CLI command, compiler diagnostic, and F1 Context ID in RaggieScript v1.3.0 (265 indexed API entries + 17 F1 Context IDs).

Indexed Functions, Types & Diagnostics (265)

API Call / SymbolKindNamespace / CategorySummary
?. / ?.[...] (Optional Chaining)OperatorLanguageNull-safe member, index, and method chaining (cfg?.network?.port ?? 8443)
[RsscHostObject] / [RsscFunction] / [RsscIgnore].NET Attr.NET SDKDeclarative C# attributes for namespace binding, RSW701 Mutating flags, and secret hiding
a11y.contrastRatio(fgHex, bgHex)Sandbox-Safea11y.*Computes W3C WCAG 2.2 relative luminance contrast ratio (1.0..21.0)
a11y.reportViolation(ruleId, targetId, message)Sandbox-Safea11y.*Emits custom OASIS SARIF 2.1.0 / VPAT compliance violation
a11y.suggestFix / queryHtml / parseVttCues / hasAccessibleName / isTouchTargetCompliantStudio Sandboxa11y.*Monaco Guided Fix diffs, HTML/XAML element queries, WebVTT caption cues, and WCAG 2.5.8 target checks
acl.grantModify(targetDir, trusteeSid?)Mutatingacl.*Grants NTFS Modify ACL via SetNamedSecurityInfoW
activesetup.isRegistered / activesetup.register / activesetup.unregisterPackagingactivesetup.*Per-machine install -> first-logon per-user profile hydration via Active Setup StubPath
archive.create(sourcePath, outArchive, options?)Mutatingarchive.*Packs folder/file into archive inferred from extension (.zip, .7z, .rswpak, .cab, .tar.*, .zst, .iso, .wim) and returns SHA-256
archive.create7z(sourcePath, out7z, options?)Mutatingarchive.*Packs folder or file into Public-Domain solid LZMA2 .7z archive and returns SHA-256
archive.createCab(sourcePath, outCab, options?)Mutatingarchive.*Packs folder hierarchy into LZX:21 Windows .cab cabinet and returns SHA-256
archive.createIso(sourcePath, outIso, options?)Mutatingarchive.*Builds ISO 9660 (.iso) Collector's Edition optical disc image and returns SHA-256
archive.createLzma(sourcePath, out7z, options?)Mutatingarchive.*Alias for archive.create7z — creates solid LZMA2 .7z archive and returns SHA-256
archive.createPak(sourceDir, outPakFile, options?)Mutatingarchive.*Compresses folder into LZMS .rswpak (RSWPAK1) and returns SHA-256
archive.createTar(sourcePath, outTar, options?)Mutatingarchive.*Creates .tar, .tar.gz, .tar.bz2, .tar.xz, .tar.lzma, or .tar.zst and returns SHA-256
archive.createWim(sourceDir, outWim, options?)Mutatingarchive.*Captures folder into Windows .wim image via System32\wimgapi.dll (elevated) and returns SHA-256
archive.createZip(sourcePath, outZip, options?)Mutatingarchive.*Packs folder or file into standard DEFLATE .zip and returns 64-char hex SHA-256
archive.createZst(sourcePath, outZst, options?)Mutatingarchive.*Packs folder/file into fast Zstandard .tar.zst bundle (libzstd) and returns SHA-256
archive.downloadPak(url, destDir, expectedSha256?, verifySig?)Mutatingarchive.*Downloads, SHA-256 verifies, and extracts remote .rswpak block
archive.extract(archiveFile, destDir, expectedSha256?)Mutatingarchive.*Sniffs magic header bytes (.zip/.nupkg/.vsix/.epub, .7z, .rswpak, .cab, .tar.*, .zst, .iso, .wim, .cpio, .xar) and extracts
archive.extract7z(sevenZipFile, destDir, expectedSha256?)Mutatingarchive.*Extracts .7z (LZMA / LZMA2) archive into destDir with .rsw-rollback.jnl tracking
archive.extractCab(cabFile, destDir, expectedSha256?)Mutatingarchive.*Extracts Windows .cab cabinet preserving subdirectories
archive.extractIso(isoFile, destDir, expectedSha256?)Mutatingarchive.*Extracts ISO 9660 (.iso) optical disc image into destDir
archive.extractLzma(sevenZipFile, destDir, expectedSha256?)Mutatingarchive.*Alias for archive.extract7z — extracts LZMA / LZMA2 .7z archive into destDir
archive.extractPak(pakFile, destDir, expectedSha256?)Mutatingarchive.*Verifies SHA-256 and extracts LZMS .rswpak container
archive.extractTar(tarFile, destDir, expectedSha256?)Mutatingarchive.*Extracts uncompressed or compressed POSIX tarball into destDir
archive.extractWim(wimFile, destDir, expectedSha256?)Mutatingarchive.*Applies Windows .wim image via System32\wimgapi.dll into destDir (elevated)
archive.extractZip(zipFile, destDir, expectedSha256?)Mutatingarchive.*Extracts .zip (or .nupkg/.vsix/.epub) archive into destDir with rollback tracking
archive.extractZst(zstFile, destDir, expectedSha256?)Mutatingarchive.*Extracts Zstandard .tar.zst / .tzst bundle into destDir
archive.list(archiveFile)Wizard-Safearchive.*Lists relative entries ({ path, size, isDir }) in any archive (blocks Zip-Slip & .rar)
archive.verify(archiveFile, expectedSha256?)Wizard-Safearchive.*Verifies optional SHA-256, container integrity, and Zip-Slip path safety
arp.register(options?)Mutatingarp.*Registers Installed Apps entry + Uninstall.exe + Uninstall.rswm
arp.setSystemComponent(productId, hidden, scope?)Mutatingarp.*Toggles SystemComponent=1/0 for dynamic Suite governance
array.contains(list, needle)Purearray.*Returns true if array contains needle
array.filter(list, predicateFn)Purearray.*Filters array elements using first-class '=>' predicate closure
array.find / any / all / reduce / sort / unique / slice / reversePurearray.*Complete 12-method functional collection pipeline across C++20, .NET, and ES2022
array.map(list, fn)Purearray.*Maps array elements through first-class '=>' closure
array.push(list, item)Purearray.*Appends item to array and returns new length
assert(cond, message?)FunctionGlobal Built-InAborts and triggers LIFO rollback in install{} when false
bool(value)FunctionGlobal Built-InEvaluates value truthiness
coalesce(a, b, ...)FunctionGlobal Built-InReturns first non-null, non-empty argument
com.generateRegFreeManifest(exe, comFiles, outManifest)Mutatingcom.*Emits Windows Side-by-Side .exe.manifest XML for zero-HKCR VB6 / ActiveX COM isolation
com.inspectTypeLib / registerInproc / unregisterInprocPackagingcom.*Inspects ITypeLib GUIDs/coclasses via REGKIND_NONE or runs DllRegisterServer
compile.def(key, fallback?)Build-Timecompile.*Reads compile-time -D or #define value
compile.json(relPath)Build-Timecompile.*Parses and embeds JSON file directly into RSWBC2 bytecode
compile.text(relPath)Build-Timecompile.*Embeds UTF-8 text file into RSWBC2 constant pool at compile time
crossroads.visit / visited / visitCount / setFlag / getFlag / adjustStat / offerOption / optionsStory Crossroadscrossroads.*Interactive branching narrative state, bounded stats, and route option engine (.NET Book Reader & ES2022 Web)
crypto.sha256File(file)Read-Onlycrypto.*Streams file through CNG bcrypt.dll SHA-256
crypto.uuid5(name, nsGuid?)Read-Onlycrypto.*Deterministic RFC 4122 SHA-1 UUIDv5 {GUID}
crypto.verifyAuthenticode(peFile)Read-Onlycrypto.*Verifies PE Authenticode trust chain via WinVerifyTrust
def(key, fallback?)FunctionGlobal Built-InReads compile-time -DKEY=VAL or #define constant
defer { ... }KeywordLanguageLIFO scope-exit cleanup executed automatically on normal return, early return, or throw
document.bindField(fieldName, value)Sandbox-Safedocument.*Binds calculated value into Tagged PDF/UA-1 AcroForm field
document.bindTable / formatCurrency • launcher.bestArchVariant • help.includeWhen / registerSearchAliasStudio SandboxStudio SandboxesTagged PDF/UA-1 <Table> binding, silicon-aware Launcher asset selection, and Help Studio search aliases
enumKeywordLanguageString- or int-backed strongly typed enumeration
env.appendPath(dirToAdd, scope?)Mutatingenv.*Non-clobbering REG_EXPAND_SZ PATH append + surgical rollback/uninstall
feature.info(id)Read-Onlyfeature.*Returns metadata and selection state for feature id
feature.isSelected(id)Read-Onlyfeature.*Returns true when feature id is selected for installation
feature.list()Read-Onlyfeature.*Lists declared feature descriptor maps
feature.selectPreset(preset?)Wizard-Safefeature.*Applies 'express', 'compact', or 'complete' feature tier
feature.setSelected(id, selected?)Wizard-Safefeature.*Updates selection state of feature id
ffi.call(dllName, funcName, returnType, args)Native FFIffi.*Calls 64-bit native x64/ARM64 DLL export with int/str/wstr marshaling
firewall.allowProgram(ruleName, exePath, direction?)Mutatingfirewall.*Adds Windows Defender Firewall allow rule (rollback-tracked)
float(value)FunctionGlobal Built-InConverts string or int to 64-bit float
font.isInstalled / font.install / font.uninstallPackagingfont.*Zero-reboot per-user & per-machine .ttf/.otf installation via AddFontResourceExW + WM_FONTCHANGE
fs.copy(src, dst, overwrite?)Mutatingfs.*Copies file with .rswbak rollback backup
fs.copyTree(srcDir, dstDir, progressLabel?)Mutatingfs.*Recursively copies folder tree with rollback protection
fs.exists(path)Read-Onlyfs.*Checks if file or directory exists
fs.extract(payloadId?, to?, feature?)Mutatingfs.*Extracts embedded LZMS RSWPAK1 (#220) payload into target directory
fs.fileVersion(pePath)Read-Onlyfs.*Reads PE VS_FIXEDFILEINFO as 4-part SemVer version
fs.findFiles(dir, pattern?, recursive?)Read-Onlyfs.*Enumerates matching file paths in directory
fs.isDir(path)Read-Onlyfs.*Checks if path is an existing directory
fs.isFile(path)Read-Onlyfs.*Checks if path is a regular file
fs.isLocked(file)Read-Onlyfs.*Probes if another process holds an exclusive file lock
fs.mkdir(dir)Mutatingfs.*Creates directory tree and journals created folders in LIFO order
fs.move(src, dst)Mutatingfs.*Moves/renames file with rollback protection
fs.readJson(file)Read-Onlyfs.*Reads and parses UTF-8 JSON file
fs.readText(file)Read-Onlyfs.*Reads UTF-8 text file
fs.remove(file)Mutatingfs.*Removes file (restored from .rswbak if install faults)
fs.removeDir(dir)Mutatingfs.*Removes directory tree if present
fs.setNtfsCompression(target, enabled?)Mutatingfs.*Toggles transparent NTFS LZNT1 compression via FSCTL_SET_COMPRESSION
fs.sha256(file)Read-Onlyfs.*Computes 64-char hex SHA-256 of file via bcrypt.dll
fs.verifyAuthenticode(pePath)Read-Onlyfs.*Verifies PE Authenticode signature chain via WinVerifyTrust
fs.writeJson(file, value, pretty?)Mutatingfs.*Serializes structured JSON to disk with .rswbak rollback backup
fs.writeText(file, content)Mutatingfs.*Writes UTF-8 text atomically with .rswbak rollback backup
help.routeContextId(contextId, topicSlug)Sandbox-Safehelp.*Maps numeric Win32 WM_HELP Context ID to topic#anchor
ini.deleteKey(file, section, key)Mutatingini.*Deletes key from .ini section (rollback-journaled)
ini.read(file, section, key, fallback?)Read-Onlyini.*Reads [section] key from .ini file
ini.write(file, section, key, value)Mutatingini.*Writes [section] key=value with .rswbak rollback protection
install { ... }PhaseLifecycleRollback-journaled (.rsw-rollback.jnl) commit phase supporting Uac.Deferred
int(value)FunctionGlobal Built-InConverts string, float, or bool to 64-bit integer
json.parse(jsonText)Purejson.*Parses UTF-8 JSON string into maps/arrays/primitives
json.stringify(value, pretty?)Purejson.*Serializes any RaggieScript value to UTF-8 JSON
launcher.selectChannel(ringSlug)Sandbox-Safelauncher.*Selects stable, preview, or lts update channel ring
len(x)FunctionGlobal Built-InReturns length of string, array, or map
localization.cps(cueText, durationSeconds)Sandbox-Safelocalization.*Calculates WebVTT caption reading speed (<= 22 CPS gate)
localization.extractTokens / tokensMatch / findMnemonic / isRtl / expansionRatioStudio Sandboxlocalization.*Locked format-token multiset checks, Win32 & accelerator parsing, RTL BCP-47 detection, & expansion ratios
localization.hasToken(text, token)Sandbox-Safelocalization.*Verifies locked placeholder token survived translation
log(message, level?)FunctionGlobal Built-InAppends timestamped line to structured setup log
map.keys / values / entries / has / merge / removePuremap.*Dictionary and struct field inspection, non-destructive merge, and key removal
match (...) { => }KeywordLanguagePattern-matching expression and statement with '_' wildcard arm
math.min / max / clamp / abs / round / floor / ceil / pow / sqrt / lerp / PI / EPuremath.*Clamping, linear interpolation, rounding, powers, and mathematical constants across all targets
msi.applyPatch(mspPath, productCode?, cmdLine?)Mutatingmsi.*Applies binary-delta .msp Windows Installer patch
msi.createDatabase(msiPath)Mutatingmsi.*Creates new relational .msi database (MSIDBOPEN_CREATEDIRECT)
msi.execSql(msiPath, sqlOrBatchArray)Mutatingmsi.*Executes single or atomic batch MSI SQL DDL/DML statements
msi.generateTransform(baselineMsi, customizedMsi, outMst)Mutatingmsi.*Emits differential .mst Windows Installer Transform
msi.getProperty(msiPath, propName, fallback?)Read-Onlymsi.*Reads Property table row from .msi database
msi.install(msiPath, properties?, silent?, logFile?)Mutatingmsi.*Installs .msi with live MsiSetExternalUIRecord progress forwarding
msi.isUpgradeInstalled(upgradeCodeGuid)Read-Onlymsi.*Queries MsiEnumRelatedProductsW for UpgradeCode state
msi.listTables(msiPath)Read-Onlymsi.*Lists all SQL tables in .msi or .msm database
msi.query(msiPath, selectSql)Read-Onlymsi.*Executes MSI SQL SELECT and returns map[] rows
msi.session.getProperty / setProperty / getFeatureState / setFeatureState / evaluateCondition / formatString / log / doActionRsscMsiCa.dllmsi.session.*Inside-the-MSI static /MT C++20 Immediate, Deferred, Rollback (.jnl), & Commit Custom Action API (msiexec /qn parity)
msi.setProperty(msiPath, propName, value)Mutatingmsi.*Parameterized upsert into MSI Property table
msi.setSessionProperty / getSessionProperty / installEmbeddedRaggieScript MSImsi.*Wizard-safe MSI property handoff and embedded #201 Product.msi commit in Engine = raggiescript-msi
msi.setSummary(msiPath, summaryMap)Mutatingmsi.*Stamps OLE SummaryInformation stream (Arm64;1033 / x64;1033, schema 500)
mutex.isHeld / mutex.waitReleaseWizard-Safemutex.*Probes Global\ and Local\ single-instance Win32 application mutexes
net.download(httpsUrl, destFile, expectedSha256?)Networknet.*Streams HTTPS download over TLS 1.2/1.3 WinHTTP with SHA-256 gate
net.getJson(httpsUrl)Networknet.*Fetches and parses remote HTTPS JSON manifest
net.isPortFree / net.findFreePortWizard-Safenet.*Sub-millisecond Winsock2 local TCP port availability probes for wizard validation
net.probe(httpsUrl)Networknet.*Lightweight 4-second HTTPS reachability check
path(value)FunctionGlobal Built-InNormalizes string into first-class path supporting '/' join
payload.dir(payloadId)Read-Onlypayload.*Resolves staging directory for named payload
payload.path(payloadId)Read-Onlypayload.*Resolves staging path for named payload
prereq.installPreset(presetId, extraSilentArgs?)Mutatingprereq.*Acquires, Authenticode-verifies, and silently installs curated runtime preset
prereq.isDotNetDesktopInstalled(majorVer?, minVer?)Read-Onlyprereq.*Detects native x64/ARM64 .NET Desktop Runtime (8..11)
prereq.isWebView2Installed()Read-Onlyprereq.*Detects Microsoft Edge WebView2 Evergreen Runtime
print(...values)FunctionGlobal Built-InPrints formatted line to stdout
proc.getLockingProcesses(filePaths)Read-Onlyproc.*Queries Windows Restart Manager (RmGetList) for locking apps
proc.isRunning(exeName)Read-Onlyproc.*Checks if process exeName is currently active
proc.restartManagerRestart()Mutatingproc.*Restarts closed apps via RmRestart
proc.restartManagerShutdown(filePaths, force?)Mutatingproc.*Gracefully closes apps locking target files via RmShutdown
proc.run(exe, args?, wait?, hidden?, token?, workDir?)Hostproc.*Launches process under Token.Current, Token.Elevated, or Token.Desktop
raggiescript.exe checkCLICLI<1ms RSW701/RSW702 & gradual static type verifier (--diagnostics=json)
raggiescript.exe compileCLICLICompiles .rssc into SHA-256 verified RSWBC2 linear stack bytecode
raggiescript.exe disasmCLICLIDisassembles .rssc, .rswbc, or packed .exe (#225) opcodes
raggiescript.exe fmtCLICLIComment-preserving idempotent source formatter (--write / --check)
raggiescript.exe initCLICLIScaffolds starter .rssc project for installer, showcase, training, a11y, or app
raggiescript.exe lspCLICLIJSON-RPC 2.0 Language Server over stdio (completion, hover, definition)
raggiescript.exe pack-exeCLICLIPacks standalone zero-dependency Windows .exe (#225 RSWBC2 + #220 RSWPAK1)
raggiescript.exe runCLICLIExecutes .rssc or .rswbc with KEY=VAL and KEY:VAL property locks
raggiescript.exe testCLICLIExecutes top-level test "<Name>" { ... } blocks across files/folders (--json supported)
raggiescript.exe transpile-es2022CLICLICompiles sandboxed 'use training;' script to zero-eval() ES2022 module
range(start, end?, step?)FunctionGlobal Built-InGenerates integer sequence array
reg.appendMultiString(hive, key, valueName, item, view?)Mutatingreg.*Appends unique entry to REG_MULTI_SZ value
reg.deleteKeyTree(hive, key, view?)Mutatingreg.*Recursively deletes Registry key tree
reg.deleteValue(hive, key, valueName, view?)Mutatingreg.*Deletes Registry value (prior value restored on rollback)
reg.exists(hive, key, valueName?, view?)Read-Onlyreg.*Stateless 64/32-bit Registry key or value existence check
reg.listSubkeys(hive, key, view?)Read-Onlyreg.*Enumerates child subkey names (RegView.Both merges 64 & 32-bit!)
reg.listValues(hive, key, view?)Read-Onlyreg.*Enumerates Registry value names under key
reg.read(hive, key, valueName, fallback?, view?)Read-Onlyreg.*Reads Registry value or null when absent (ideal with '??')
reg.readDword(hive, key, valueName, fallback?, view?)Read-Onlyreg.*Reads REG_DWORD / REG_QWORD integer statelessly
reg.readString(hive, key, valueName, fallback?, view?)Read-Onlyreg.*Reads REG_SZ / REG_EXPAND_SZ string statelessly
reg.write(hive, key, valueName, value, view?)Mutatingreg.*Writes string or integer Registry value (100% rollback-journaled)
reg.writeDword(hive, key, valueName, value, view?)Mutatingreg.*Writes 32-bit REG_DWORD value (rollback-journaled)
reg.writeExpandString(hive, key, valueName, value, view?)Mutatingreg.*Writes REG_EXPAND_SZ value (rollback-journaled)
reg.writeString(hive, key, valueName, value, view?)Mutatingreg.*Writes REG_SZ string value (rollback-journaled)
regex.isMatch(input, pattern, ignoreCase?)Pureregex.*Tests ECMAScript regular expression match
regex.match(input, pattern, ignoreCase?)Pureregex.*Returns capture groups of first regex match
regex.replace(input, pattern, replacement, ignoreCase?)Pureregex.*Replaces regex matches
RsscEs2022Transpiler.TryTranspile.NET Method.NET SDKPure-C# in-process transpiler emitting CSP-safe static ES2022 modules for SCORM 1.2/2004 & Story Crossroads
RsscExecutionOptions (MaxSteps / Timeout / CancellationToken).NET Safety.NET SDKBounds execution steps (RsscExecutionLimitException), wall-clock timeouts, and cancellation
RsscHostEnvironment (.NET).NET Class.NET SDKShared compile-time & runtime registry for C# delegates, [RsscHostObject] services, and globals
RsscHostEnvironment.ExposeObject.NET Method.NET SDKExposes live C# POCO or record as a read-only or mutable two-way global in RaggieScript
RsscHostEnvironment.RegisterFunction.NET Method.NET SDKExposes sync or async Task<T> C# delegate under a namespace with RSW701/RSW702/RSW712 checks
RsscHostEnvironment.RegisterService.NET Method.NET SDKBinds [RsscHostObject] C# service methods (camelCase & PascalCase) with zero GetType() escape
RsscManagedRuntime.BindDelegate<TDelegate>.NET Method.NET SDKCompiles RaggieScript fn or '=>' closure into native strongly-typed C# Func<...> / Action<...>
RsscManagedRuntime.Invoke<T>.NET Method.NET SDKInvokes RaggieScript fn and hydrates returned struct/map into C# record, POCO, enum, or Version
RsscManagedRuntime.InvokeAsync<T>.NET Async.NET SDKAwaits RaggieScript functions calling async Task<T> C# delegates with CancellationToken support
RSW700 (Syntax / Preprocessor Error)DiagnosticDiagnosticsMalformed token, unterminated string, or cyclic include
RSW701 (Wizard Phase Isolation)DiagnosticDiagnosticsBlocks direct or transitive system mutations inside wizard { ... }
RSW702 (Capability Sandbox Violation)DiagnosticDiagnosticsBlocks host OS/FS/Registry/Network access inside sandboxed Studio profiles
RSW704 (Bytecode SHA-256 Tamper Gate)DiagnosticDiagnosticsRejects corrupted or modified RSWBC2 bytecode streams
RSW710 (Undeclared Identifier)DiagnosticDiagnosticsUnknown variable or function with fuzzy 'Did you mean' suggestion
RSW711 (Static Type Mismatch)DiagnosticDiagnosticsIncompatible variable, field, match pattern, or return type
RSW712 (Arity / Unknown Method)DiagnosticDiagnosticsUnknown namespace method or wrong call argument count/type
RSW713 (Immutability / CLI Lock Violation)DiagnosticDiagnosticsBlocks mutating const bindings or CLI hard-locked KEY:VAL properties
RSW714 (Unknown Struct Field / Enum Variant)DiagnosticDiagnosticsCatches misspelled struct field or enum variant at compile time
RSW715 (Missing Return / Loop Control)DiagnosticDiagnosticsTyped non-void function missing return path, or break outside loop
shell.registerFileType(ext, progId, description, target, ...)Mutatingshell.*Registers .ext + ProgID cleanly under Software\Classes
shell.registerProtocol(scheme, description, targetExe)Mutatingshell.*Registers custom scheme:// URL protocol handler
shortcut.create(location, name, target, ...)Mutatingshortcut.*Creates COM IShellLinkW .lnk shortcut (rollback-tracked)
showcase.navigate(pageId)Showcaseshowcase.*Switches active Showcase Studio canvas page
showcase.setHotspotVisible / setHotspotLabel / setHotspotTooltip / focusHotspot / openBooklet / openGallery / announceSrShowcase UIshowcase.*Complete 12-method accessible canvas hotspot, booklet, gallery, and UIA screen-reader control suite
sign.inspect / cert.isInstalled / cert.importTrustedPublisher / cert.removePackagingsign.* & cert.*X.509 & PKCS#7 Authenticode subject/issuer/thumbprint inspection and TrustedPublisher management
sleep(ms)FunctionGlobal Built-InPauses execution for ms milliseconds
sql.drivers / querySqlite / execSqlite / execSqliteFile / execOdbc / execOdbcFileZero-DLL SQLsql.*Transactional SQLite (System32\winsqlite3.dll) and ODBC (System32\odbc32.dll) database migration runner with RSW701 wizard lock
storescript.findPatternHex / crc32Range / readAscii / writeAscii / getJson / setJsonStoreScriptstorescript.*Wildcard '??' hex signature scanner, IEEE CRC-32 save-checksum calculator, and dot-path JSON config editor
storescript.profile / backupSave / restoreBackup / sizeStoreScriptstorescript.*RSW702-sandboxed StoreTrainer save-file profile header and instant undo snapshot management
storescript.readU8 / writeU8 / readI16LE / writeI16LE / readI32LE / writeI32LE / readU32LE / writeU32LE / readF32LE / writeF32LEStoreScriptstorescript.*Bounds-checked and min/max-clamped little-endian binary save-file readers and writers
str(value)FunctionGlobal Built-InConverts any value to UTF-8 string
str.contains(haystack, needle, ignoreCase?)Purestr.*Substring membership check
str.endsWith(text, suffix, ignoreCase?)Purestr.*Suffix check
str.join(items, separator?)Purestr.*Joins array elements with separator
str.lower(text)Purestr.*Returns lowercase UTF-8 string
str.replace(text, oldSub, newSub, ignoreCase?)Purestr.*Replaces occurrences of oldSub with newSub
str.slice(text, start, end?)Purestr.*Extracts substring [start, end)
str.split(text, delimiter?)Purestr.*Splits text into string[] array
str.startsWith(text, prefix, ignoreCase?)Purestr.*Prefix check
str.trim(text)Purestr.*Strips leading and trailing whitespace
str.upper(text)Purestr.*Returns uppercase UTF-8 string
structKeywordLanguageTyped record declaration with default fields and RSW714 field validation
svc.install(serviceName, binPath, displayName?, startType?)Mutatingsvc.*Creates/updates Win32 Service (rolled back on install fault)
sys.arch()Read-Onlysys.*True physical host silicon ('arm64' or 'x64') via IsWow64Process2
sys.canPromptUac()Read-Onlysys.*True when interactive UAC elevation prompt can be shown
sys.cliArg(key, fallback?)Read-Onlysys.*Reads CLI KEY=VAL property or fallback
sys.compiledArch()Read-Onlysys.*Compiled binary PE architecture ('arm64' or 'x64')
sys.cpuCores()Read-Onlysys.*Logical CPU core count
sys.dpi()Read-Onlysys.*Primary display DPI (96 = 100%, 144 = 150%)
sys.folder(knownName)Read-Onlysys.*Resolves known Windows folder path by name
sys.freeDiskBytes(targetPath?)Read-Onlysys.*Free bytes available on volume backing targetPath
sys.freeDiskMB(targetPath?)Read-Onlysys.*Free megabytes available on volume backing targetPath
sys.getResumeState(id?)Read-Onlysys.*Reads persisted post-reboot resume JSON map
sys.hasSwitch(flag)Read-Onlysys.*Checks whether CLI switch flag was passed
sys.isAdmin()Read-Onlysys.*True when running with effective Administrator token
sys.isArm64()Read-Onlysys.*True on native Windows on ARM64 hardware
sys.isDarkMode()Read-Onlysys.*True when Windows AppsUseLightTheme == 0
sys.isEmulatedUnderPrism()Read-Onlysys.*True if x64/x86 process is running under ARM64 Prism translation
sys.isHighContrast()Read-Onlysys.*True when SPI_GETHIGHCONTRAST Contrast Theme is active
sys.isMaintenance()Read-Onlysys.*True in --repair or --uninstall maintenance mode
sys.isPassive()Read-Onlysys.*True when invoked with /passive or /qb
sys.isServer()Read-Onlysys.*True on Windows Server SKUs
sys.isSilent()Read-Onlysys.*True when invoked with /s, /qn, or --silent
sys.isWindows11()Read-Onlysys.*True when kernel build >= 22000
sys.isX64()Read-Onlysys.*True on native x64 (AMD64) hardware
sys.localAppDataPropertysys.*Current user %LOCALAPPDATA% path
sys.locale()Read-Onlysys.*BCP-47 user locale tag (e.g. 'en-US')
sys.newGuid()Read-Onlysys.*Generates fresh uppercase {GUID} via BCryptGenRandom
sys.osBuild()Read-Onlysys.*Un-shimmed Windows kernel build via ntdll!RtlGetVersion (22000+ = Win11)
sys.osVersion()Read-Onlysys.*Un-shimmed 4-part SemVer OS version
sys.programFilesPropertysys.*Native 64-bit C:\Program Files path
sys.ramMB()Read-Onlysys.*Installed physical RAM in megabytes
sys.rebootAndResume(stateMap?, id?)Mutatingsys.*Persists state JSON, registers RunOnce continuation, and latches 3010 reboot
sys.supportDirPropertysys.*Extracted _support\ helper staging directory path
sys.uacEnabled()Read-Onlysys.*True when Windows EnableLUA UAC policy is enabled
sys.uuid5(name, nsGuid?)Read-Onlysys.*Generates deterministic RFC 4122 SHA-1 UUIDv5 {GUID}
targetArch()FunctionGlobal Built-InReturns target build or native host architecture ('arm64' or 'x64')
task.createWeekly(taskName, exePath, args?, day?, time?)Mutatingtask.*Creates opt-in weekly Windows Scheduled Task
test "<Name>" { ... }KeywordLanguageFirst-class unit test block run by 'raggiescript.exe test' and RsscManagedRuntime.RunTests()
time.formatScormDuration / formatUtc / parseIsoPuretime.*Formats elapsed seconds into SCORM 2004 ISO-8601 durations ('PT14M22S') and parses ISO dates
time.nowUtc / nowLocal / unixSeconds / unixMillis / stopwatchMsPuretime.*ISO-8601 UTC/local timestamps, Unix epoch clocks, and monotonic QPC stopwatch
Token.DesktopEnumBuilt-In EnumLaunches finish-screen apps de-elevated under the user's Explorer token
training.branchTo(targetSlideId)Sandbox-Safetraining.*Routes learner to adaptive SCORM scenario or remediation slide
training.getState / setState / recordInteraction / announcePolite / unlockNextSlideStudio Sandboxtraining.*SCORM suspend_data persistence, cmi.interactions item logging, and aria-live learner feedback
training.setScore(scorePct, maxScore?)Sandbox-Safetraining.*Records SCORM 1.2 / 2004 normalized quiz score (ES2022 & Native)
typeof(x)FunctionGlobal Built-InReturns runtime type name string
Uac.DeferredEnumBuilt-In EnumRuns wizard asInvoker and elevates --elevated-rssc-worker only on Install
ui.checkbox(text, bind: ref boolVar, subtitle?, when?)Wizard UIui.*Two-way checkbox triggering reactive sibling when: closures
ui.comboBox(label, bind: ref var, items)Wizard UIui.*Dark/Light themed dropdown bound to string or enum param
ui.featureTree(heading?)Wizard UIui.*Interactive feature checklist bound to top-level feature blocks
ui.folderPicker(label, bind: ref pathVar, minFreeMB?)Wizard UIui.*In-window destination EDIT + Browse... + live free-disk MB check
ui.license(text, acceptText, bind: ref boolVar)Wizard UIui.*Scrollable EULA viewer + acceptance checkbox gating Next >
ui.progress(percent, statusText?, detailText?)UIui.*Updates live progress bar and Windows 11 Taskbar ITaskbarList3 state
ui.radioCards(label, bind: ref strVar, options)Wizard UIui.*Accessible Express vs Custom radio option cards
ui.readySummary(heading?, showUacShield?)Wizard UIui.*Summary card + optional UAC shield on &Install button
ui.taskDialog(...)Modal UIui.*Full Windows 11 Command-Link TaskDialogIndirect with ref out-bindings
ui.textBox(label, bind: ref strVar, when?, validate?)Wizard UIui.*In-window two-way EDIT with reactive when: and inline validate: closure
ui.welcome(title, subtitle?, body?)Wizard UIui.*In-window Welcome hero heading and intro inside Wizard Step
Validation.error(message)Wizard UIValidation.*Blocks Next > and displays inline accessible field error banner
Validation.ok()Wizard UIValidation.*Returns passing field validation result { ok: true }
ver(value)FunctionGlobal Built-InParses 4-part SemVer version value
wizard { step ... when (...) }PhaseLifecycleSide-effect-free (RSW701) interactive wizard phase with step history stack
wizard.cancel()Wizard UIwizard.*Cancels setup cleanly with exit code 1602
xml.readAttr(file, tag, attr, fallback?)Read-Onlyxml.*Reads XML element attribute value
xml.readText(file, tag, fallback?)Read-Onlyxml.*Reads inner text of XML element
xml.replaceAttr(file, tag, attr, newValue)Mutatingxml.*Updates XML element attribute with .rswbak rollback backup
xml.setElementText(file, tag, innerText)Mutatingxml.*Updates XML element inner text with .rswbak rollback backup

F1 Context-Sensitive Help Map (17)

Symbolic ConstantHex / Decimal IDTarget Topic
IDH_RSSC_WELCOME0x2001 (8193)welcome
IDH_RSSC_CLI_SDK0x2002 (8194)cli-and-sdk
IDH_RSSC_SYNTAX0x2003 (8195)syntax-and-preprocessor
IDH_RSSC_TYPES0x2004 (8196)types-structs-enums
IDH_RSSC_PHASES0x2005 (8197)headers-and-phases
IDH_RSSC_BUILTINS0x2006 (8198)builtins-and-constants
IDH_RSSC_NS_SYS0x2007 (8199)ns-sys
IDH_RSSC_NS_DATA0x2008 (8200)ns-data-and-text
IDH_RSSC_NS_FS_REG0x2009 (8201)ns-fs-and-reg
IDH_RSSC_NS_ARCHIVE0x200A (8202)ns-archive-crypto-net-log
IDH_RSSC_NS_PROC_FFI0x200B (8203)ns-proc-ffi-rm-system
IDH_RSSC_NS_MSI0x200C (8204)ns-msi-and-prereq
IDH_RSSC_NS_UI0x200D (8205)ns-ui-and-wizard
IDH_RSSC_SANDBOX0x200E (8206)studio-sandbox-profiles
IDH_RSSC_DIAGNOSTICS0x200F (8207)diagnostics-reference
IDH_RSSC_BYTECODE0x2010 (8208)bytecode-and-rollback
IDH_RSSC_STORESCRIPT0x2011 (8209)storescript-and-crossroads