|
Archives
D Programming
digitalmars.Ddigitalmars.D.bugs digitalmars.D.dtl digitalmars.D.ide digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger D.gnu D C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript electronics |
DMDScript - 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
Apr 12 2005
Jeremy Cowgar wrote: Apr 13 2005
> It's not that simple. Checkhttp://dblinux.sis.epn.edu.ec/~csantand/dmdscript.html for some samples. Apr 14 2005
Jeremy Cowgar wrote:> It's not that simple. Checkhttp://dblinux.sis.epn.edu.ec/~csantand/dmdscript.html for some samples. 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). 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). Apr 15 2005
Jeremy Cowgar wrote:Not your problem. But did you get a chance to put them on dsource? Thanks! Jeremy Apr 18 2005
|