Dyalog / Dyalog/DUI

LENGTH ERRORs if DUI can't find itself

Open
#6 0 comments 0 reactions 1 assignee Claimed by @bpbecker View on GitHub
bug
Dominant language
Less
Stars
7
Forks
0
PR merge metrics
No merged PRs in 30d

Description

DUI.Initialize[12–18] says:
```apl
:If ~⎕NEXISTS WC2Root←∊1 ⎕NPARTS WC2Root,'/'
→EXIT⊣r←2 'WC2 folder not found: "',(∊⍕WC2Root),'"'
:EndIf

:If ~⎕NEXISTS WC2Root,'Core/HtmlElement.dyalog'
→EXIT⊣r←3 'WC2 folder does does not appear to contain WC2: "',WC2Root,'"'
:EndIf
```
It should say:
```apl
:If ~⎕NEXISTS WC2Root←∊1 ⎕NPARTS WC2Root,'/'
→EXIT⊣r←2('WC2 folder not found: "',WC2Root,'"')
:EndIf

:If ~⎕NEXISTS WC2Root,'Core/HtmlElement.dyalog'
→EXIT⊣r←3('WC2 folder does does not appear to contain WC2: "',WC2Root,'"')
:EndIf
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.