tree (DFNS.DWS)

For users of dfns, both novice and expert

tree (DFNS.DWS)

Postby giangiquario on Thu Nov 26, 2009 11:12 am

The tree function in DFNS looks like old fashioned.

)clear
)copy DFNS tree
cl←':class myClass' ':endclass'
⎕fix cl
myInst1←⎕new myClass
myInst2←⎕new myClass
tree # ⍝ this is correct *************
#
· ~ cl
· ∇ tree
· myClass [Class]
· myInst1 [Instance]
· myInst2 [Instance]

myInst2.⎕df'my2'
tree # ⍝ this is NOT correct *************
#
· ~ cl
· ∇ tree
· myClass [Class]
· myInst1 [Instance]
myInst2 [Instance]
User avatar
giangiquario
 
Posts: 46
Joined: Thu Nov 26, 2009 8:55 am
Location: Milano, Italia

Re: tree (DFNS.DWS)

Postby JohnS|Dyalog on Thu Nov 26, 2009 12:17 pm

Hi Giangi,
You're right. It looks as if I have a little work to do to modernise the tree function
http://www.dyalog.com/dfnsdws/n_tree.htm.
I will try to fix it soon.
Thanks.
John.
JohnS|Dyalog
 

Re: tree (DFNS.DWS)

Postby JohnS|Dyalog on Wed Dec 02, 2009 9:38 am

This is now fixed.
Download new dfns.dws from http://dfns.dyalog.com/
JohnS|Dyalog
 


Return to Functional Programming

Who is online

Users browsing this forum: No registered users and 1 guest