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.

Newcomers DBPro Corner / Organizeing and fileing source code assistance

Author
Message
Q and A but mostly Q
16
Years of Service
User Offline
Joined: 1st Jun 2008
Location:
Posted: 5th Jun 2008 01:38
Recently I have bin programming alot and my source code is really starting to get lengthy and messy. Is there any way you can add like a new window or file that you can call with a command that I can put parts of my source code in. Kind of like a gosub command except that I dont have to keep it on the same page as all the other code.
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 5th Jun 2008 15:35
You can add "include" files. I don't know which editor you are using, but the default editor, Codesurge, Synergy etc all have this ability.

Programmer of Power
19
Years of Service
User Offline
Joined: 22nd Aug 2005
Location: Home
Posted: 6th Jun 2008 04:03
Just separate different parts of code into different .dba files and add them to your project. For example... you could keep all of your functions in one, or subroutines for certain types of actions.

"I will work harder... if you ask me enough times... or give me enough coffee"

Login to post a reply

Server time is: 2024-09-27 16:34:10
Your offset time is: 2024-09-27 16:34:10