-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
getDRC should use the Conga namespace DRC #26
- Loading branch information
Showing
3 changed files
with
12 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
r←getDRC ref;ws | ||
r←getDRC ref;ws | ||
:If ref≠# ⋄ r←ref ⍝ Not set, so we must create it | ||
:ElseIf 9=#.⎕NC'DRC' ⋄ r←#.DRC ⍝ in # already? | ||
:Else | ||
ws←'conga.dws' | ||
:Trap 0 | ||
'DRC'#.⎕CY ws ⍝ See if the interpreter can find it | ||
'Conga'#.⎕CY ws ⍝ See if the interpreter can find it | ||
:Else | ||
ws←addWSpath'conga.dws' ⍝ Actually adds [DYALOG]/ws | ||
:Trap 0 | ||
'DRC'#.⎕CY ws | ||
'Conga'#.⎕CY ws | ||
:Else | ||
'Unable to locate conga.dws'⎕SIGNAL 11 | ||
:EndTrap | ||
:EndTrap | ||
#.DRC←#.Conga.Init'isolate' | ||
r←#.DRC | ||
:EndIf |