Compile your C source in to an '#?.o' (object) file and write an
external module for it.
Let's have a small function in C:
int test(int a, int b)
which we want to call from PowerD. Name this proggy 'test.c'.
First You should compile it with Your favorit C compiler. It will
generate sth like 'test.o' file which will contain our function.
Then we can write external module if we want to use this function
in more PowerD proggies, call it 'dmodules:my/test.m':
don't forget about full path of 'test.o'!. Then everytime You use
MODULE 'my/test' You will be able to use
If You want to use this function in only one Your program, enter
somewhere in the proggy the same as in the module (above). If everything
went O.K. You are now able to use the function like: