From 8108a88464b8fb8c1f641641c3e4cea2aeb52e34 Mon Sep 17 00:00:00 2001 From: zc <2650838+Wack0@users.noreply.github.com> Date: Mon, 8 Aug 2022 16:53:22 +0100 Subject: [PATCH] readme: Document `import` as a synonym for `export`. --- readme.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/readme.md b/readme.md index 046355c..701e566 100644 --- a/readme.md +++ b/readme.md @@ -92,6 +92,8 @@ Instruction operands have several forms: - Operands that refer to a variable only (the obsolete `setstacktype` instruction) do so via the variable name. - Other operands can refer to a variable (via its name), a constant (via the syntax `type(value)`; function pointers use the function name, strings use quoted literals); or an array or record variable indexed by integer constant (`RecordOrArrayVar[0]`) or by variable name (`RecordOrArrayVar[IndexVar]`). +`import` can be used as a synonym for `export`; in some cases it makes more sense to use one over the other (for example, external functions, types used by internally-implemented functions, and global variables initialised by the host application like `WizardForm` in Inno Setup). + ## Examples The `examples` directory contains a few example scripts, intended to be used with uninno: