Skip to content

The example code in README.MD does not work--results in a syntax error #18

Description

@dyavc

The example code in README.MD does not work--results in a syntax error

]tools.version
Dyalog 18.0.40412 64-bit Unicode, BuildID 8eb8368f
OS Windows 10 or Windows Server 2016 (10.0.19041) 64-bit
SALT 2.808, Link: 2.0.5
UCMD 2.4
.NET .NET Core 3.1.15
WS 18.0

test ⍝⍝ where test has the code from README.MD

⍝ A workaround is to just comment out the font line which is r2.Font ←⊂11 1 'Broadway' 5 ⍝

I do not know if this is a Dyalog bug or a APL2XL bug.

SYNTAX ERROR
Export[42] ex←font∘{0<⍺.⎕NC ⍵:n⍴⍺⍎⍵ ⋄

)si
#.Main.Export[42]*
¨
#.Main.Export[45]
#.Main.Export[47]
#.Main.Export[27]
¨
#.Main.Export[27]
¨
#.Main.Export[92]
#.testlinux[22]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions