From 334ad7af480957c5d263a9bd4648bb2aafcebdc8 Mon Sep 17 00:00:00 2001 From: Marshall Lochbaum Date: Thu, 3 Dec 2020 15:03:33 -0500 Subject: =?UTF-8?q?Change=20outdated=20:=20to=20=E2=87=90=20for=20import?= =?UTF-8?q?=20aliases=20in=20syntax=20doc?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/doc/syntax.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/doc/syntax.html b/docs/doc/syntax.html index 88e006fc..b77b5660 100644 --- a/docs/doc/syntax.html +++ b/docs/doc/syntax.html @@ -151,7 +151,7 @@

Exports

The double arrow is used to export variables from an immediate block or file. It can only be used in these contexts, and not in function or modifier blocks. There are two ways to export variables. First, in the variable definition can be replaced with to export the variable as it's defined. Second, an export statement consisting of an assignment target followed by with nothing to the right exports the variables in the assignment target and does nothing else. Export statements can be placed anywhere in the relevant program or body, including before declaration or on the last line, and a given variable can be exported any number of times.

-
a:alias, b, c:c0c1, b:b2{
+
aliasa, b, c0c1c, b2b{
   bc   # Non-definition exports can go anywhere
   a2    # Define and export
   b1+a
-- 
cgit v1.2.3