clarification on usage of a:to-string
FossilOrigin-Name: 6af9eac308182332ffecdd24d87dcbcc6020d8747f562d137dfcb543dfbcb920
This commit is contained in:
parent
ce91454df1
commit
9ba232cb4f
4 changed files with 14 additions and 5 deletions
|
@ -311,7 +311,7 @@ a:th D: an-b A: - F: -
|
|||
Return the actual address of the `n`th item in the array.
|
||||
|
||||
a:to-string D: a-s A: - F: -
|
||||
Create a new string from the provided array. This string will be stored in the temporal string buffers.
|
||||
Create a new string from the provided array of character values. This string will be stored in the temporal string buffers.
|
||||
|
||||
abort D: - A: - F: -
|
||||
Abort execution.
|
||||
|
|
|
@ -766,8 +766,12 @@
|
|||
<b>Addr:</b> -<br>
|
||||
<b>Float:</b> -</p>
|
||||
</div>
|
||||
<p>Create a new string from the provided array. This string will be stored in the temporal string buffers.</p>
|
||||
<table><tr><td><b>Class:</b> </td><td>class:word</td></tr><tr><td><b>Namespace:</b> </td><td>a</td></tr><tr><td><b>Interface Layer:</b> </td><td>all</td></tr></table><hr/>
|
||||
<p>Create a new string from the provided array of character values. This string will be stored in the temporal string buffers.</p>
|
||||
<table><tr><td><b>Class:</b> </td><td>class:word</td></tr><tr><td><b>Namespace:</b> </td><td>a</td></tr><tr><td><b>Interface Layer:</b> </td><td>all</td></tr></table><p><b>Example:</b> <br>
|
||||
<br>
|
||||
<xmp style='background:#f2f2f2'> { $h $e $l $l $o } a:to-string s:put nl</xmp>
|
||||
</p>
|
||||
<hr/>
|
||||
<h2>abort</h2>
|
||||
<div style='margin-left: 1em;'><p><b>Data:</b> -<br>
|
||||
<b>Addr:</b> -<br>
|
||||
|
|
|
@ -1191,9 +1191,14 @@ a:to-string
|
|||
Addr: -
|
||||
Float: -
|
||||
|
||||
Create a new string from the provided array. This string will be stored in the temporal string buffers.
|
||||
Create a new string from the provided array of character values. This string will be stored in the temporal string buffers.
|
||||
|
||||
Class: class:word | Namespace: a | Interface Layer: all
|
||||
|
||||
Example #1:
|
||||
|
||||
{ $h $e $l $l $o } a:to-string s:put nl
|
||||
|
||||
------------------------------------------------------------------------
|
||||
|
||||
abort
|
||||
|
|
|
@ -102,7 +102,7 @@ a:reverse a-b - - Reverse the order of items in a array. This will return a new
|
|||
a:right an-a - - Return a new array containing the specified number of values from the right side of the array. class:word {n/a} {n/a} a all
|
||||
a:store vna- - - Store a value into the array at the specified index. class:word #3 { #0 #1 #2 } #1 a:store {n/a} a all
|
||||
a:th an-b - - Return the actual address of the `n`th item in the array. class:word {n/a} {n/a} a all
|
||||
a:to-string a-s - - Create a new string from the provided array. This string will be stored in the temporal string buffers. class:word {n/a} {n/a} a all
|
||||
a:to-string a-s - - Create a new string from the provided array of character values. This string will be stored in the temporal string buffers. class:word { $h $e $l $l $o } a:to-string s:put nl {n/a} a all
|
||||
abort - - - Abort execution. class:macro {n/a} {n/a} global rre
|
||||
again - - - Close an unconditional loop. Branches back to the prior `repeat`. class:macro {n/a} {n/a} global all
|
||||
allot n- - - Allocate the specified number of cells from the `Heap`. class:word 'Buffer d:create #100 allot {n/a} global all
|
||||
|
|
|
Loading…
Reference in a new issue