A Welcome Surprise with ⎕CMD
Posted: Tue Jul 13, 2010 4:24 pm
This was a surprise to me...
foo w
:Select w
:Case 0
⎕CMD'notepad.exe' ''
∘ ⍝ Stop after 2-element
:Case 1
⎕CMD'notepad.exe'
∘ ⍝ Stop after 1-element
:EndSelect
Doesn't seem to be documented. Wondering whether it's a bug or a feature. APL/W-64 12.1 Windows 7.
Apologies for timewasting if it is well-recognised behaviour.
foo w
:Select w
:Case 0
⎕CMD'notepad.exe' ''
∘ ⍝ Stop after 2-element
:Case 1
⎕CMD'notepad.exe'
∘ ⍝ Stop after 1-element
:EndSelect
Doesn't seem to be documented. Wondering whether it's a bug or a feature. APL/W-64 12.1 Windows 7.
Apologies for timewasting if it is well-recognised behaviour.