Proper way to force char array to type 80?
Posted: Fri Sep 10, 2010 2:43 pm
Hi,
In the Unicode version, I have a character array (a simple matrix). I want to force it to type 80, no matter what type is in it. I have this so far:
Is there a better way to do this? to force compaction?
Thanks
In the Unicode version, I have a character array (a simple matrix). I want to force it to type 80, no matter what type is in it. I have this so far:
Code: Select all
{
80=⎕DR ⍵:⍵
r←⍵
b←,255≤⎕UCS r
(b/,r)←'?'
r[⍳↑⍴r;]
}
Is there a better way to do this? to force compaction?
Thanks