Safe to edit APIFunctionListing.txt ?

Everything else that doesn't fall into one of the other PB categories.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Safe to edit APIFunctionListing.txt ?

Post by PB »

As per the subject... some API functions don't show up in QuickHelp (such as
MessageBox) and I want to know if it's safe for me to fix them so they show
up with their correct syntax in QuickHelp.
freak
PureBasic Team
PureBasic Team
Posts: 5948
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

This is a static file, it might only change on new PB releases, so yes, it is save to edit.
The tool we used to create this file is not the best one, that's why so much strings are missing.
I might improve this in the future, but it doesn't have a very high priority.

Timo
quidquid Latine dictum sit altum videtur
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

Thanks Freak! :)
Fred
Administrator
Administrator
Posts: 18350
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Of course, feel free to share your new file if you want it included in the next release :)
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> feel free to share your new file

Okay, will do; give me some time to go through it, though.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

Update: I've done some work on this file and added parameters for a lot of
common API commands. :) But I have a question: the number at the start of
the file -- what is it? Is that the number of commands? If so, can I update
that number if I add an API command (such as CreateWindow, which currently
isn't in there) ? I'll pass the file on to Fred when it nears completion.
freak
PureBasic Team
PureBasic Team
Posts: 5948
Joined: Fri Apr 25, 2003 5:21 pm
Location: Germany

Post by freak »

Yes, it is the number of commands listed in the file.
If you add a new one, make sure you add it at the right place in alphabetical
order, not just at the end, or it won't be found.

Timo
quidquid Latine dictum sit altum videtur
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

> make sure you add it at the right place in alphabetical order

Yep, that's what I expected to do. :) I'll keep working on it now.
Post Reply