Page 4 of 40
Posted: Tue Apr 20, 2004 12:51 am
by El_Choni
Thanks a lot, I'll look into it. Looks like fixing some bugs introduced some others...
Posted: Tue Apr 20, 2004 2:00 am
by El_Choni
Fixed. However, in this new version you'll have to restart the compiler manually (from the Compiler menu), I'm still having trouble restarting the compiler from TailBite.
Regards,
..
Posted: Tue Apr 20, 2004 2:24 am
by NoahPhense
El_Choni wrote:Fixed. However, in this new version you'll have to restart the compiler manually (from the Compiler menu), I'm still having trouble restarting the compiler from TailBite.
Regards,
Ah, is that what's happening when I run the manager, and create the lib
from the Make a library button -- and it creates the lib, but then keeps
everything on the form still 'disabled' ? Is that what you mean?
- np
* Excellent on the making the dialog go away..

I hate sticky dialogs.
Posted: Tue Apr 20, 2004 3:19 am
by freedimension
I wanted to thank you for this tool. At the beginning I was a little bit sceptical (for example because of too many low-end libs from beginners).
But not for long - believe me it's great.
But a few proposals I still have:
- Could you incorporate a way of telling TailBite which help-file to use? I thought about a meta-comment in the source-files first line ( ; tb_help: mylib.chm). Altering the .desc file each time is very laborious.
- it would be cool if you could generate the resident- and lib-file in one step (2 thoughts: additional stringgadget in TBM or (once again) meta-comments like ; tb_startresident and ; tb_endresident)
- You forgot to mention the _Init and _End functions in the help
What do I have to do, to set the source file automatically at program start (using jaPBe)?
Posted: Tue Apr 20, 2004 3:33 am
by El_Choni
I'd like to avoid having to use extra directives in the source (well, TailBite already uses the comments after the procedure header for the help line).
Could you incorporate a way of telling TailBite which help-file to use? I thought about a meta-comment in the source-files first line ( ; tb_help: mylib.chm). Altering the .desc file each time is very laborious.
What about this: if it's the first time the library is created (not another lib with the same name found in the userlibs dir) TailBite asks for the help name. Next time, TailBite won't ask: it'll use the name stored in the previous userlib.
- it would be cool if you could generate the resident- and lib-file in one step (2 thoughts: additional stringgadget in TBM or (once again) meta-comments like ; tb_startresident and ; tb_endresident)
Yes, I thought about this. I'll have to choose a solution, either directives as you say or an extension (".res.pb", for example). Or better: if no procedure is found in the code, the file is converted to resident (it would be pointless trying to make a lib with it, so...)
- You forgot to mention the _Init and _End functions in the help
So THAT'S the reason why several people asked how to do it XD. I'll add it, thanks for the feedback.
Regards,
Posted: Tue Apr 20, 2004 11:05 am
by freedimension
El_Choni wrote:
What about this: if it's the first time the library is created (not another lib with the same name found in the userlibs dir) TailBite asks for the help name. Next time, TailBite won't ask: it'll use the name stored in the previous userlib.
Really? I have to check that. Either I've missed or forgotten this dialog or it simply didn't show up.
Then TB should look for the currently used help-file? But with my X2D library in the .desc it always switches from X2D.chm to X2D.
Posted: Tue Apr 20, 2004 11:56 am
by Dare2
I think El_Choni is asking your opinion on whether that is a good way to do things.
Posted: Tue Apr 20, 2004 1:53 pm
by El_Choni
Couldn't wait, so I added all that. Thanks for your suggestions, freedimension. Could you tell me if it works as expected?
Regards,
Posted: Tue Apr 20, 2004 3:26 pm
by freedimension
Dare2 wrote:I think El_Choni is asking your opinion on whether that is a good way to do things.
Yes, after rereading it, the mist lifts
That's a good alternative. Thank you for implementing it.
The updater tells me, that I already have this version! Did you forget to change the version-no. or is this still the old one?
Posted: Tue Apr 20, 2004 4:00 pm
by El_Choni
Yes, my fault, sorry, forgot to change version number, update again. Sometimes I forget to change the version number, so you should try installing the update even if the updater tells you that it's the same version than the one you have installed.
Regards,
Posted: Wed Apr 21, 2004 8:47 am
by dmoc
El, where can I download from? PureNet not accessible and I cannot find it on PureArea.
Posted: Wed Apr 21, 2004 9:31 am
by freedimension
The Public Releases can be obtained here: PureArea -> Projects -> Developer Tools
http://www.purearea.net/pb/download/dev ... te_1_0.zip
Posted: Wed Apr 21, 2004 9:40 am
by dmoc
Ha! Yes, thank you. I had not noticed that the "projects" page switched content. Thought they were HTML shortcuts

CHM
Posted: Wed Apr 21, 2004 4:24 pm
by NoahPhense
Ok this is the first time I have seen the help file box. Now I've written a lot
of help files in my days. But I've never linked them to keywords in a
source program, in this case, the PB IDE.
Can you show me how to link my functions?
eg.
When I click F1 while on one of my keywords:
OpenMutex("test")
I want it to open the assigned chm and bring me to the OpenMutex()
function.
- np
Posted: Wed Apr 21, 2004 4:51 pm
by El_Choni
I think you just need to include a file named openmutex.html in your chm file.