Symbol Iota

From NARS2000
Jump to: navigation, search

⍳ — iota or index; Keystroke ALT+i ; Character (⎕UCS) 9075

Usage

Monadic use:

Dyadic use:

Examples

      ⍳20     ⍝ Monadic example, generate the set of integers 1 through 20
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

      'ABCDEFG' ⍳ 'BG'    ⍝ Dyadic example, find/lookup the letters B and G in the string 'ABCDEFG' (pos 1 = A, pos 2 = B, ... pos 7 = G)
2 7                                 ⍝ Results found at positions 2 and 7 of string 'ABCDEFG'

See Also

NARS 2000 Lang
Tool
Bar
+ - × ÷ * ! ? |
= < >
~ § π .. ,
/ \ ¨ .
_ ¯ b e g p r v x