benilla-re systems structs docs

ParseChannelKey

function · ui · orchestration

Address
0x49e880 · 25 bytes, up to 0x49e898
Meaning
Returns the name of the joined slot a decimal argument names, or the argument when it parses to 0
Confidence
verified, proof one
Finding
ui/channelverbs#leavechannelbyname

Finding: LeaveChannelByName in ui: joining and leaving channels

LeaveChannelByName(name) needs a string or number (else it raises Usage: LeaveChannelByName("name")), returns no values and sends CMSG_LEAVE_CHANNEL, opcode 0x98 with one C string. If the name parses as a non-zero integer n, the key is the name of joined slot n and anything that slot cannot supply is a complete no-op. Otherwise the key is the argument as typed, so "0" and "" are names. The wire name is the key, except that a key matching a shortcut becomes the row's pattern filled with the plain zone text, or the verb does nothing when that text is nil or empty. No slot lookup or state test precedes the send for a name.

The derivation is in the doc.

Callers 5

Callees 2

Calls and jumps by a bare address, from tables/calls.tsv.