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 / Loop doesn't read any code that i am putting

Author
Message
MateiSoft Romania
12
Years of Service
User Offline
Joined: 16th Oct 2013
Location:
Posted: 12th Jul 2014 14:54
Hello community,

I have two loops one in the main function file and one in a function created by me. I want to pass between those two loops going through the first one to the one created by me, it works fine. All the code in the function created a few months ago works fine, but this time when i programmed something new, the loop doesn't read the codes that i worked on. This problem appears when i execute the file without darkbasic pro compiler. When i press build compile and run, it works fine. Do you know what causes this? Is this a DBPRO bug?

Thank You very much!

Alex Matei CEO
www.alexmatei.com
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 12th Jul 2014 16:53
Quote: "This problem appears when i execute the file without darkbasic pro compiler. When i press build compile and run, it works fine. Do you know what causes this?"


Sounds like you are running the old version when you run the exe without the compiler.

Perhaps you've forgotten to save the new version of the project before running the new exe. I think the editor doesn't update the exe disk copy till you've done that. You might need to exit DBPro first as well (untested).

It's not a bug - just the way the editor works.



Powered by Free Banners
MateiSoft Romania
12
Years of Service
User Offline
Joined: 16th Oct 2013
Location:
Posted: 12th Jul 2014 17:20
Hello GreenGandalf,

I did this i even restarted my pc and no result. Maybe i should delete the exe and let DBPRO to make a new one.

Alex Matei CEO
www.alexmatei.com
MateiSoft Romania
12
Years of Service
User Offline
Joined: 16th Oct 2013
Location:
Posted: 12th Jul 2014 20:06
Yeah, i had to delete the executable and then let darkbasic pro recreate it. Thank You very much again!

Alex Matei CEO
www.alexmatei.com
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 13th Jul 2014 01:38
Sounds like you are using an old version of the editor. What version is shown when you look at Help/About Dark Basic Professional Editor? You should see Build: Jun 23 2010.



Powered by Free Banners
MateiSoft Romania
12
Years of Service
User Offline
Joined: 16th Oct 2013
Location:
Posted: 13th Jul 2014 02:56
Yes, its Build: Jun 23 2010

Alex Matei CEO
www.alexmatei.com
Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 15th Jul 2014 20:50
Strange. I wonder what the problem was. Does it work correctly now when you make changes?



Powered by Free Banners
MateiSoft Romania
12
Years of Service
User Offline
Joined: 16th Oct 2013
Location:
Posted: 15th Jul 2014 21:45
Yes it works, thank you for your help Green Gandalf

Alex Matei CEO
www.alexmatei.com

Login to post a reply

Server time is: 2026-07-06 04:29:33
Your offset time is: 2026-07-06 04:29:33