by Ajay Askoolum » September 13th, 2013, 1:32 am
John, if the download link to the code sample in this forum were updated to contain the v13.2 version, no one will fall into the scenario that I did. (Especially since it is no longer possible to install/use the previous version of CSE).
Joe, I too looked to see whether System,Diagnostics.DLL existed; as you found, it doesn't. Like you, I was inclined to see this as the reason for being unable to specify using System.Diagnostics; as part of the argument for 'Init'. However, in a C# project, you certainly CAN specify using System.Diagnostics; (see attached wmv). Indeed, you can do so in the script that becomes the argument to 'Exec'.
Therefore, a clearer explanation of 'Init' is required and you have taken this on board.
I am wondering whether 'Init' should have any arguments. I can see that 'System' enables a huge number of C# features to become available. But it would be no hardship if 'Init' simply creates and instance of [] cse and a second 'Exec' statement were required ({transpose},['']'System') before []cse did anything useful. Or, 'Init' can simply use 'System' as a default argument.
For those like me who know C#, it is easy to think that 'Init' is there to construct the block of 'using' statements; from what you say, it isn't.
- Attachments
-
- cp.wmv
- (1.48 MiB) Downloaded 883 times