bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-apl] Gnu APL gives syntax error when scalar variables are used for


From: Frederick H. Pitts
Subject: [Bug-apl] Gnu APL gives syntax error when scalar variables are used for any axis other than the last axis
Date: Fri, 24 Jan 2014 20:38:48 -0600

Gentle people,

        In Gnu APL SVN revision 104, load the attached BrackIndexTest.apl.gz
(after uncompressing it) with

        apl -f BrackIndex.apl

Observe that M[ I ; 1 ] gives a syntax error when used as the target of
an assignment while M[ 1 ; I ] does not.  A syntax error also occurs if
scalar variables are used in both axis positions.  Oddly enough, with 3
dimensional matrices the syntax error occurs on the 2nd axis but not the
first and last.

Regards,

Fred Pitts
Retired Chemical Engineer

Attachment: BracketIndexTest.apl.gz
Description: GNU Zip compressed data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]