It is currently Wed May 22, 2013 11:00 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: PBTool Include procedure() finder etc
PostPosted: Wed Apr 25, 2012 1:50 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Feb 01, 2012 3:30 pm
Posts: 268
Location: Nottinghamshire UK
Hi to All

Another little tool working but not finished, lists all includes in the pb\include dir and all the procedures etc in a treeview.

suggestions constructive criticism welcome

Zebuddi. :)

MD5 079547f2b586fa29a5a5befb007fafa7
http://goo.gl/mXKkL


Top
 Profile  
 
 Post subject: Re: PBTool Include procedure() finder etc
PostPosted: Wed Apr 25, 2012 1:57 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Thu Jan 10, 2008 1:30 pm
Posts: 711
Location: Germany, Glienicke
Any Help to this tool?
How to add a file?
What are the parameters?
Nothing happens at all the buttons.

_________________
Image


Top
 Profile  
 
 Post subject: Re: PBTool Include procedure() finder etc
PostPosted: Wed Apr 25, 2012 2:21 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Feb 01, 2012 3:30 pm
Posts: 268
Location: Nottinghamshire UK
Sorry Startgate :oops:

It should autoread the purebasicpath()\include\ folder add all the includes and scan for procedures() required includefiles and imported functions. identify returns ie .s .l .w etc with a "returns a string" etc at end of proc name in the list.

buttons:
expand all, close all, as name implies.

reload - reloads if new includes added to dir

empty space for search -(not implemented yet tommorrow)

add include to editor - inserts selected include in to top of the current source in editor (not implemented yet tommorrow)

write to file - will allow to add procedures from clipboard as a new procedure() to that file etc (not implemented yet tommorrow)

Im no programming Guru like some of the community here, just having some fun and ideas and if whats useful for me is useful for other members of the pb community then thats a bonus

Zebuddi. :)

Must be half asleep :? no param required run as a tool from ide or stand alone !!!


Last edited by Zebuddi123 on Wed Apr 25, 2012 3:09 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: PBTool Include procedure() finder etc
PostPosted: Wed Apr 25, 2012 2:47 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Thu Jan 10, 2008 1:30 pm
Posts: 711
Location: Germany, Glienicke
ok, i have add this folder, but i get only status bar text: "59 Inlcude Files" but no list with this includes and no list with procedures.

_________________
Image


Top
 Profile  
 
 Post subject: Re: PBTool Include procedure() finder etc
PostPosted: Wed Apr 25, 2012 3:06 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Feb 01, 2012 3:30 pm
Posts: 268
Location: Nottinghamshire UK
This is what you should be getting

http://s19.postimage.org/vwki9nv83/ipf2.jpg

http://s19.postimage.org/fzlqcy2tv/ipf1.jpg

not tested it on anything except w7 x64

all though i have all OS`s i`ll install them in vbox tommorrow and test it in linux and OSX too

path to include dir is path$=PureBasicPath()+"include\"

which should pull up the correct path for the include folder :!:

zebuddi. :)


Top
 Profile  
 
 Post subject: Re: PBTool Include procedure() finder etc
PostPosted: Wed Apr 25, 2012 3:18 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Thu Jan 10, 2008 1:30 pm
Posts: 711
Location: Germany, Glienicke
Zebuddi123 wrote:
path to include dir is path$=PureBasicPath()+"include\"

you mean #PB_Compiler_Home+"include\"

your program find the inlcude files, but i get not tree items.
Use WIN-API for the gadget, which is only for Win7?

(i use Windows XP 32Bit)

_________________
Image


Top
 Profile  
 
 Post subject: Re: PBTool Include procedure() finder etc
PostPosted: Wed Apr 25, 2012 3:29 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Wed Feb 01, 2012 3:30 pm
Posts: 268
Location: Nottinghamshire UK
@ startgate no win api`s all native pb procedures

tested on xp 32 sp3 works fine

Zebuddi.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: Azul and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye