SplitScript reference / Migration / Dynamic settings lookup

Dynamic settings lookup

Migration from ASL

Source pattern

Look for the ASL concept Dynamic settings lookup in the source. The semantic difference below is more important than a token-for-token rewrite.

Canonical SplitScript

Use the canonical language and API symbols linked below.

Semantic difference

Replace settings[key] with settings.enabled(key) and settings.ContainsKey(key) with settings.contains(key). Declare exact host strings with key "..."; choice and file settings remain statically typed.

Supported hosts

This uses the standard SplitScript runtime contract. Any provider-specific requirements are documented by the linked canonical API.