Hi folks,
I continue to find my way through DBpro just with the 10MB demo compiler, so I may ask stupid questions... but:
For a test I made a new project containing 2 files:
inctest.dba
and
myfunctions.dba
But while compiling it, it tells me:
"Parameter for TEXT do not match X,Y,String inside myfunction.dba"
so, here is the myfunction:
function myprint(mylocstr$)
text 10,10,mylocstr$
endfunction
and here is the main loop:
#include "myfunction.dba"
set window on
set window size 640,480
set window position 1,1
show window
do
myprint("just a test")
loop
end
Is there anything to know about the "include" function for the compiler I did not consider?
if I replace the var with a constant "string" it works
thanks,
P!
-
it's not my fault...