Hello,
we are using Dyalog 12.0 in our Web-Applications.
Is there a difference in creating an object with []New and .New?
Both is working.
Example:
DateTime.New 2012 11 22
[]New DateTime 2012 11 22
Regards
Robert
Difference between []New and .New
-
- Posts: 439
- Joined: Wed Oct 01, 2008 9:39 am
Re: Difference between []New and .New
Hi Robert,
We recommend using the ⎕new way.
In the end, they are the same but there is potential for a clash if the class already had it's own New method.
Regards,
Vince
We recommend using the ⎕new way.
In the end, they are the same but there is potential for a clash if the class already had it's own New method.
Regards,
Vince
Re: Difference between []New and .New
Thanks Vince