Skip to content

Keyword Reference 🟑 BETA

The BASIC keyword catalog is closed: a name is available only if the runtime registers it.

Where BASIC scripting sits in the Developer guide

What it does

get_all_keywords() in botserver/src/basic/keywords/mod.rs lists the names the runtime knows. keyword_reference.rs adds exact signatures for the subset a generated automation uses.

Rules for writing BASIC

Rule Why
Use the published signature verbatim The generator reference forbids inventing argument names or order
Do not use named arguments SEND MAIL TO … SUBJECT … BODY … does not compile
Do not invent keywords ADD_SELECTION and READ FILE are examples of names that never existed

Limits

  • Listed in the closed keyword catalog in botserver/src/basic/keywords/mod.rs; the runtime reference publishes no exact signature for it, so this page does not invent one.
  • Listed in the closed keyword catalog in botserver/src/basic/keywords/mod.rs; the runtime reference publishes no exact signature for it, so this page does not invent one.
  • Case is not significant: signature_of looks keywords up case-insensitively.
  • Names not in the catalog β€” for example GOTO, CARD, SYNCHRONIZE and START MEET β€” are not available.