I am currently using the trial version of dark basic classic. I have windows vista and have already downloaded the d3drm.dll.
When I try to run a program with functions at the end, an error says "Error at line XX. Program ran into a function declaration." But this doesn't happen every time. Sometimes it will work fine. It's not in the code, because it did the same with the "room" project that came with the download.
I was wondering if anyone else had the same problem. Could it be because of Windows Vista or the Trial Version?
I also made a simpler example that gave the same error:
sync on
create_sphere(5)
position camera 0,0,-5
point camera 0,0,0
do
sync
loop
end
function create_sphere(size)
make object sphere 1,size
position object 1,0,0,0
endfunction
What has been will be again, what has been done will be done again; there is nothing new under the sun.
-Former King in Jerusalem