includeopen .. heres the code..

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

includeopen .. heres the code..

Post by NoahPhense »

viewtopic.php?t=19104

go horst! ;)

- np
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

What exactly is the wish here?
quidquid Latine dictum sit altum videtur
User avatar
NoahPhense
Addict
Addict
Posts: 1999
Joined: Thu Oct 16, 2003 8:30 pm
Location: North Florida

Post by NoahPhense »

freak wrote:What exactly is the wish here?
Well this tool. Not sure if you've used it before. When you launch it,
it pulls up a popup-menu of all the included files, that are listed.

You then just click on one, and it opens that included file into the IDE.

That's the source on the above link. The exe is only 19.5k.

- np
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

Actually its a good idea..!
freak
PureBasic Team
PureBasic Team
Posts: 5940
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

What if you do this:

Code: Select all

IncludeFile #MainPath + "Data\Something.pb"
... and what if the #MainPath depends on some CompilerIf switch ?
It'll be fun parsing that ;)
quidquid Latine dictum sit altum videtur
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

Then you need to write a better parser :)
Post Reply