Thread overview | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
April 13, 2005 Call a DMDScript function from D? | ||||
---|---|---|---|---|
| ||||
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 |
April 13, 2005 Re: Call a DMDScript function from D? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jeremy Cowgar | 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 |
April 14, 2005 Re: Call a DMDScript function from D? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Carlos Santander B. | > It's not that simple. Check
> http://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
|
April 14, 2005 Re: Call a DMDScript function from D? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jeremy Cowgar | Jeremy Cowgar wrote: > > It's not that simple. Check > >> http://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 |
April 15, 2005 Re: Call a DMDScript function from D? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Carlos Santander B. | > 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
|
April 15, 2005 Re: Call a DMDScript function from D? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jeremy Cowgar | 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 |
April 19, 2005 Re: Call a DMDScript function from D? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jeremy Cowgar | 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 |
Copyright © 1999-2021 by the D Language Foundation