glossary: add iOS pb: namespace words

FossilOrigin-Name: 97f8d13e7d4a3722de53b0bed6a97e014690fcff8a1315ca6fc36418266c89c0
This commit is contained in:
crc 2018-02-05 21:06:17 +00:00
parent 8db100cd52
commit adc87297e6
2 changed files with 43 additions and 0 deletions

View file

@ -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 pop
Data: -n Data: -n

View file

@ -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 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 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 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 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:! 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 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.