⎕profile - error or design

APL-related discussions - a stream of APL consciousness.
Not sure where to start a discussion ? Here's the place to be
Forum rules
This forum is for discussing APL-related issues. If you think that the subject is off-topic, then the Chat forum is probably a better place for your thoughts !

⎕profile - error or design

Postby Phil Last on Mon Jan 11, 2016 7:35 pm

The help for ⎕PROFILE states:
      If X is specified it must be a simple vector of column indices. ...:

X ⎕PROFILE 'data' ←→ ↓[⎕IO](⎕PROFILE 'data')[;X]
It's actually
      ↓[⎕IO](⎕PROFILE 'data')[;X+⎕IO-1]
which is odd considering that ⎕IO has actually been referenced in the expression. X could more properly be described as a vector of column labels.
User avatar
Phil Last
 
Posts: 624
Joined: Thu Jun 18, 2009 6:29 pm
Location: Wessex

Return to APL Chat

Who is online

Users browsing this forum: No registered users and 1 guest