DyalogMigrationLevels

Under Construction

The system variable ⎕ML determines the degree of compatability of Dyalog APL towards IBM's APL2. In general, the value 0 represents "native Dyalog". The higher the value, the close to APL2/

For the time being (2009), 3 is the highest level of compatability one can achieve.

Note that with a default installation ⎕ML is set to 0.

⎕ML←0

Native Dyalog (Default)

⎕ML←1

Z←∊R

Monadic is interpreted as 'enlist' rather than 'type'

⎕ML←2

Z←↑R

Monadic is interpreted as 'first' rather than 'mix'

Z←⊃R

Monadic is interpreted as 'mix' rather than 'first'

Z←­R

Monadic '­' returns the absolute value of the depth of
its argument, rather than a negative value if the depths
of its sub-arrays are unequal

⎕ML←3

R←X⊂[K]Y

Dyadic '⊂' follows the APL2 (rather than the original Dyalog APL) convention

⎕TC

The order of the elements of ⎕TC is the same as in APL2

CategoryDyalog