Thread overview
modules and functions
Nov 10, 2003
Dominik Egarter
Nov 10, 2003
J C Calvarese
Nov 11, 2003
Dominik Egarter
November 10, 2003
Hello!

I am really new programming in D. Can anybody show me how to implement functions in a module and how to use them???

Thx, Dominik

November 10, 2003
Dominik Egarter wrote:
> Hello!
> 
> I am really new programming in D. Can anybody show me how to implement functions in a module and how to use them???
> 
> Thx, Dominik

I've attached a simple example.

If you're looking for more simple examples, you might want to look the examples and tutorial on my webpage.  (Some of them may be a little out of date since all of the standard modules have been renamed in the latest version of DMD.)

Justin
http://jcc_7.tripod.com/d/



November 11, 2003
J C Calvarese schrieb:

> I've attached a simple example.
> 
> If you're looking for more simple examples, you might want to look the examples and tutorial on my webpage.  (Some of them may be a little out of date since all of the standard modules have been renamed in the latest version of DMD.)
> 
> Justin
> http://jcc_7.tripod.com/d/

Thanks a lot, my problem was that I did not compile and link them together: i used dmd mainfile.d and dmd mod.d, but with the makefile
it really works.

thx, dominik.