You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
do:
v:=0printv# prints `0`printv# error: undeclared variable `v`
Semantics
Semantically equivalent to:
iftrue:
<block>
The do statement allows opening a new scope. The main utility is in the control over scoping of variables. An example use case is temporarily shadowing variables:
Semantics
Semantically equivalent to:
The
do
statement allows opening a new scope. The main utility is in the control over scoping of variables. An example use case is temporarily shadowing variables:The text was updated successfully, but these errors were encountered: