mirror of
https://git.sr.ht/~crc_/retroforth
synced 2024-11-16 19:48:56 +01:00
glossary: add iOS pb: namespace words
FossilOrigin-Name: 97f8d13e7d4a3722de53b0bed6a97e014690fcff8a1315ca6fc36418266c89c0
This commit is contained in:
parent
8db100cd52
commit
adc87297e6
2 changed files with 43 additions and 0 deletions
|
@ -3022,6 +3022,46 @@ Example #1:
|
|||
|
||||
----------------------------------------------------------------
|
||||
|
||||
pb:get
|
||||
|
||||
Data: a-
|
||||
Addr: -
|
||||
Float: -
|
||||
|
||||
Copy a string from the pasteboard to the specified address.
|
||||
|
||||
Class Handler: class:word | Namespace: pb | Interface Layer: iOS
|
||||
|
||||
----------------------------------------------------------------
|
||||
|
||||
pb:length
|
||||
|
||||
Data: -n
|
||||
Addr: -
|
||||
Float: -
|
||||
|
||||
Return the length of the string on the pasteboard.
|
||||
|
||||
Class Handler: class:word | Namespace: {n/a} | Interface Layer: iOS
|
||||
|
||||
Example #2:
|
||||
|
||||
pb
|
||||
|
||||
----------------------------------------------------------------
|
||||
|
||||
pb:set
|
||||
|
||||
Data: s-
|
||||
Addr: -
|
||||
Float: -
|
||||
|
||||
Copy a string to the pasteboard.
|
||||
|
||||
Class Handler: class:word | Namespace: pb | Interface Layer: iOS
|
||||
|
||||
----------------------------------------------------------------
|
||||
|
||||
pop
|
||||
|
||||
Data: -n
|
||||
|
|
|
@ -237,6 +237,9 @@ not n-m - - Perform a logical NOT operation. class:word {n/a} {n/a} global all
|
|||
or mn-o - - Perform a bitwise OR between the provided values. class:primitive {n/a} {n/a} global all
|
||||
over nm-nmn - - Put a copy of n over m. class:word {n/a} {n/a} global all
|
||||
parse-until q-s - - Read input from stdin (via `getc`) until the returned character is matched by the quote. Returns a string. class:word :read-until-period (-s)\n [ $. eq? ] parse-until ; {n/a} all rre
|
||||
pb:get a- - - Copy a string from the pasteboard to the specified address. class:word {n/a} {n/a} pb iOS {n/a}
|
||||
pb:length -n - - Return the length of the string on the pasteboard. class:word {n/a} pb {n/a} iOS {n/a}
|
||||
pb:set s- - - Copy a string to the pasteboard. class:word {n/a} {n/a} pb iOS {n/a}
|
||||
pop -n n- - Move a value from the return stack to the data stack. class:macro {n/a} {n/a} global all
|
||||
prefix:! ns- - - Store a value into a variable. Store a value into the named variable. Compile the code to store a value into a named variable. class:macro {n/a} {n/a} prefix all
|
||||
prefix:# s-n - - Process token as a number. Convert the string into a number and leave on the stack. Convert the string into a number and compile into the current definition as a literal. class:macro {n/a} {n/a} prefix all
|
||||
|
|
Can't render this file because it contains an unexpected character in line 208 and column 30.
|
Loading…
Reference in a new issue