Skip to content
This repository has been archived by the owner on Apr 25, 2021. It is now read-only.
Amirerfan Rafati edited this page Feb 20, 2021 · 1 revision

set(Any* variableName, Any value)

Assigns value to a variable named variableName.

Compiled example in mlog:

set variableName value

It is recommended to use = instead of set, this way you can assign the result of other functions to a variable. Example:

x = read(cell1, 7)

Compiled example in mlog:

read ASSIGNCON cell1 7
set x ASSIGNCON
Clone this wiki locally