Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dyavc opened this issue Jun 8, 2021 · 2 comments
Open

Comments

@dyavc
Copy link

dyavc commented Jun 8, 2021

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]

@dyavc
Copy link
Author

dyavc commented Jun 8, 2021

here is a zip containing a workspace with my test function

test18.zip

usage:
as in the README.MD file:

From Dyalog

    ]link.create # 'c:\path\to\APL2XL\APLSource'

test

@PaulMansour
Copy link
Contributor

Hi. The APL2XL Project is not currently active or maintained in any way. I should note this in the readme. (The companion project XL2APL is active and maintained)

The existing code base was an exploratory project to get something working, no small feat, and was very successful. It is on my to do list to restart, rewrite, and document and test this project, but it is not really a high priority right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants