Hi Bug APL,
the system's word count mechanism says length four. APL says length three, I thought this was going to be length 1 and the symbol '⍝'. Does anyone know what I am doing incorrectly:
a@a:~/aplstuff$ echo "⍝" > txt
a@a:~/aplstuff$ cat txt
⍝
a@a:~/aplstuff$ wc txt
1 1 4 txt
a@a:~/aplstuff$ ./wc.apl -q -- txt
#!/usr/local/bin/apl
path←∈(⎕ARG ⍳ ⊂'--') ↓ ⎕ARG
tie←⎕FIO[3] path
fontents←{⍵, ⎕FIO[6] tie}⍣{⍺⊢⎕FIO[10] tie}''
fontents←⎕ucs⊃,/⍪(~ fontents∊10 11)⊂fontents
fontents
â
⍴fontents
1 3
)off
a@a:~/aplstuff$ cat txt
⍝
a@a:~/aplstuff$ wc txt
1 1 4 txt
a@a:~/aplstuff$ ./wc.apl -q -- txt
#!/usr/local/bin/apl
path←∈(⎕ARG ⍳ ⊂'--') ↓ ⎕ARG
tie←⎕FIO[3] path
fontents←{⍵, ⎕FIO[6] tie}⍣{⍺⊢⎕FIO[10] tie}''
fontents←⎕ucs⊃,/⍪(~ fontents∊10 11)⊂fontents
fontents
â
⍴fontents
1 3
)off
It does not display in my email draft, but APL returns two more symbols after the 'a' with the accent. looks like they have values of 0080 and 0090
-Alex
-Alex