Fix undef docs mentioning you can undef constant literals

Fuxes #1566
This commit is contained in:
altrisi committed 2023-01-20 19:00:47 +01:00
1 parent 1eb25ba1b5
commit c9c1e5a4dc
1 file changed
-2
-2
View File
@@ -388,8 +388,6 @@ It can affect global variable pool, and local variable set for a particular func
inc(i) -> i+1; foo = 5; inc(foo) => 6
inc(i) -> i+1; foo = 5; undef('foo'); inc(foo) => 1
inc(i) -> i+1; foo = 5; undef('inc'); undef('foo'); inc(foo) => Error: Function inc is not defined yet at pos 53
undef('pi') => bad idea - removes hidden variable holding the pi value
undef('true') => even worse idea, unbinds global true value, all references to true would now refer to the default 0
</pre>
### `vars(prefix)`