Hi again,

sorry, (1⊃x['y']) does not work either with selective specification.



On 8/25/24 17:57, Dr. Juergen Sauermann wrote:
Hi Hans-Peter,

according to the IBM language reference page 41 is
selective specification limited to specific functions,
and *'.'* is unfortunately not one of them.

I will look into making this working, but it could be tricky and take a while,

In the meantime you could use *x['y']* instead of *x.y* as a workaround:
*
            x.y ← 1 2 3
      x['y']
1 2 3
      1⊃x['y']
1
*
Best Regards,
Jürgen


On 8/25/24 15:12, Hans-Peter Sorge wrote:
Hi,

Just a simple test:

      x.y ← 1 2 3
      x.y
1 2 3

      x.y[1]
1

      1⊃x.y
1

      ⎕IO⊃x.y
1
      (⎕IO⊃x.y)←⊂ 'abc'
SYNTAX ERROR+
      (⎕IO⊃x.y)←⊂'abc'
      ^        ^

      (1⊃x.y)←⊂ 'abc'
      x.y
 abc 2 3

Greetings
Hans-Peter

Reply via email to