Skip to content

READ 🟑 BETA

READ loads the contents of a file.

Where BASIC scripting sits in the Developer guide

Syntax

content = READ "path"

Example

content = READ "inbox/report.txt"

What it does

READ returns the bytes of the named file. READ TEXT is a separate registered form for document text extraction.

Limits

  • Registered with positional arguments only β€” the signature shown is the exact form; named arguments are not part of the keyword.
  • Available only when the drive Cargo feature is enabled (botserver/src/basic/keywords/mod.rs).