Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Does Patch 4.1 fix this...

Author
Message
Gamer
23
Years of Service
User Offline
Joined: 29th Apr 2003
Location:
Posted: 12th Jun 2003 02:45
Finally got my DBPro today, and already having problems...My program used to compile under the trial version, now it doesn't under this retail version. It looks like the compiler gets confused when I have
constants with similar names. So, I wrote a small program to test my theory that it's not my code, but the compiler...

#constant f "test.dat"
#constant fnum 1
open to read fnum, f
close file fnum
end

When I compile it, I got the following error message:

#100001: Could not determine parameter type of '"test.dat"num' at line 3.
It doesn't matter what name I change the constant 'fnum' to, as long as it begins with an 'f', I get the same error message. Anyone has this problem, and does patch 4.1 fix it?
spooky
23
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 12th Jun 2003 03:10
Compiles for me OK in P4.1

I assume in previous versions it 'replaced' the 'f' of 'fnum' in line 3 when it shouldn't have done. Hopefully now it only replace whole words and not partial words.

Gronda, Gronda
Great Knight
23
Years of Service
User Offline
Joined: 25th Feb 2003
Location:
Posted: 12th Jun 2003 06:10
are you sure you didnt need the ddsa(.cat)<-----Extension part.

AMD Atherlon 2400+ XP, 380 DDr memeory, ATI Radeon 9000 64 DDR.

And a Katana.

Login to post a reply

Server time is: 2026-07-18 03:09:34
Your offset time is: 2026-07-18 03:09:34