DMDScript - Call a DMDScript function from D?
- Jeremy Cowgar <jeremy __no__spAM__cowgar.com> Apr 12 2005
- "Carlos Santander B." <csantander619 gmail.com> Apr 13 2005
- Jeremy Cowgar <jeremy __no__spAM__cowgar.com> Apr 14 2005
- "Carlos Santander B." <csantander619 gmail.com> Apr 14 2005
- Jeremy Cowgar <jeremy __no_spam__.cowgar.cooooom> Apr 15 2005
- "Carlos Santander B." <csantander619 gmail.com> Apr 15 2005
- "Carlos Santander B." <csantander619 gmail.com> Apr 18 2005
Can I do something like:
-------
myscript.ds:
function getName() {
return "Jeremy";
}
testing.d:
// init script engine
// load "myscript.ds"
char[] name = myscript.call("getName");
printf("Your name is %.*\n", name);
-------
Jeremy
Apr 12 2005
Jeremy Cowgar wrote:Can I do something like: ------- myscript.ds: function getName() { return "Jeremy"; } testing.d: // init script engine // load "myscript.ds" char[] name = myscript.call("getName"); printf("Your name is %.*\n", name); ------- Jeremy
It's not that simple. Check http://dblinux.sis.epn.edu.ec/~csantand/dmdscript.html for some samples. -- Carlos Santander Bernal JP2, you'll always live in our minds
Apr 13 2005
> It's not that simple. Checkhttp://dblinux.sis.epn.edu.ec/~csantand/dmdscript.html for some samples.
I have not been able to load the URL. At first I thought it might be a temporary problem, but I have checked many times the last day or so w/no luck. Is there another URL? Jeremy
Apr 14 2005
Jeremy Cowgar wrote:> It's not that simple. Checkhttp://dblinux.sis.epn.edu.ec/~csantand/dmdscript.html for some samples.
I have not been able to load the URL. At first I thought it might be a temporary problem, but I have checked many times the last day or so w/no luck. Is there another URL? Jeremy
Sorry about that, I guess the guys at the uni haven't paid the ISP ;). I'll try to upload them to dsource, at least for a little while (unless Brad complains about it). -- Carlos Santander Bernal JP2, you'll always live in our minds
Apr 14 2005
Sorry about that, I guess the guys at the uni haven't paid the ISP ;). I'll try to upload them to dsource, at least for a little while (unless Brad complains about it).
Not your problem. But did you get a chance to put them on dsource? Thanks! Jeremy
Apr 15 2005
Jeremy Cowgar wrote:Sorry about that, I guess the guys at the uni haven't paid the ISP ;). I'll try to upload them to dsource, at least for a little while (unless Brad complains about it).
Not your problem. But did you get a chance to put them on dsource? Thanks! Jeremy
I'm having trouble with my Internet connection, so I'm sending them to you. -- Carlos Santander Bernal JP2, you'll always live in our minds
Apr 15 2005
Jeremy Cowgar wrote:Not your problem. But did you get a chance to put them on dsource? Thanks! Jeremy
I hope you received them, but I uploaded them over the weekend. They're in http://svn.dsource.org/svn/projects/walnut/downloads/old_things/ -- Carlos Santander Bernal JP2, you'll always live in our minds
Apr 18 2005









"Carlos Santander B." <csantander619 gmail.com> 