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
Copy file name to clipboardExpand all lines: docs/source/reference.html
+34-9Lines changed: 34 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -3151,11 +3151,14 @@ <h5>Notes</h5>
3151
3151
<code>VARPTR</code> can be used with <code><a href="#PEEK">PEEK</a></code>
3152
3152
to read a variable's internal representation.
3153
3153
</li>
3154
+
<li>
3155
+
If <code><var>name</var></code> is an undefined array element, it will be implicitly allocated in the same way as if it had been used in an expression.
3156
+
</li>
3154
3157
</ul>
3155
3158
<h5>Errors</h5>
3156
3159
<ul>
3157
3160
<li>
3158
-
<code><var>name</var></code> has not been previously defined: <samp>Illegal function call</samp>.
3161
+
<code><var>name</var></code> is a scalar that has not been previously defined: <samp>Illegal function call</samp>.
3159
3162
</li>
3160
3163
<li>
3161
3164
<code><var>file_num</var></code> has a string value: <samp>Type mismatch</samp>.
The last two bytes are the pointer address (as returned by
3197
3201
<code><a href="#VARPTR">VARPTR</a></code>) in little-endian order.
3198
3202
</p>
3203
+
<h5>Notes</h5>
3204
+
<ul>
3205
+
<li>
3206
+
If <code><var>name</var></code> is an undefined array element, it will be implicitly allocated in the same way as if it had been used in an expression.
3207
+
</li>
3208
+
</ul>
3199
3209
<h5>Errors</h5>
3200
3210
<ul>
3201
3211
<li>
3202
-
<code><var>name</var></code> has not been previously defined: <samp>Illegal function call</samp>.
3212
+
<code><var>name</var></code> is a scalar that has not been previously defined: <samp>Illegal function call</samp>.
<kbd>Ctrl</kbd>+<kbd>C</kbd>, or <kbd>Ctrl</kbd>+<kbd>Break</kbd>.
4275
+
If run from a program, stops program execution and returns control to the user. Any further statements on the line will be ignored, also in direct mode.
0 commit comments