EDIT: Look at last post for new question.
I am trying to convert my functions into commands that Dark Basic Professional can reconize, or a way to some how convert the commands that the compiler doesn't reconize to something it will.
Example Function:
Function move_object_using_arrowkeys(obj)
`source code to move object
endfunction
Example Code:
move object using arrowkeys object_number
I have thought of several ways of doing this I just need redirection to a thread that would cover these things.
I though of using a dll file to point to a structure where my functions would be stored and compile that data. (Make Commands that compiles data in a different format)
I also though of a "pre-compiler" which would reconize my commands and replace the commands with the source code to the commands in Dark Basic Professional code sent to the compiler.
Shelling is another way to send data to the compiler. I am just having a hard time finding threads that tell what you would put for parameters, so the compiler would load the .dba file and spit out and .exe or executable.
I don't want to copy and paste from Dark Basic Pro dlls. I just want a way to convert data over without the user seeing the source.
Any of these concepts would work I just need resources or someone to explain what I could do for my problem.
Check out my thread for Dark World:
http://forum.thegamecreators.com/?m=forum_view&t=96546&b=8