Page 1 of 1

"help" on procedures

Posted: Fri May 31, 2024 9:56 pm
by jassing
Could not find a wiki article on this... so I hope this isn't redundant or already implemented (sorry if it is)

when you enter a PB command [eg: OpenDatabase()] a statusbar entry pops up at the bottom (in addition to parameters, it shows a description: "Opens the specified database")

in a shared coding environment, this would be nice to have for procedures/modules... (actually, might be helpful coding by yourself fas a gentle reminder)

something like

Code: Select all

procedure pear(*type) ;= tells you if this type is in season
endprocedure

Re: "help" on procedures

Posted: Sat Jun 01, 2024 2:45 am
by BarryG
Here's two other such requests from over 10 years ago:

https://www.purebasic.fr/english/viewtopic.php?t=47100
https://www.purebasic.fr/english/viewtopic.php?t=54831

I'm sure someone posted a tool to do it, but can't find it now.

Re: "help" on procedures

Posted: Sat Jun 01, 2024 8:26 am
by Bisonte

Re: "help" on procedures

Posted: Sat Jun 01, 2024 9:34 am
by BarryG
That's it! :)

Re: "help" on procedures

Posted: Sat Jun 01, 2024 2:39 pm
by PBJim
Perhaps related to some extent to Jassing's feature request, I find that the ability of the status line to scroll, and therefore always show the current parameter over which the cursor is positioned, isn't always functional for long lines of parameters — please see example below.

I've never felt that it is worth reporting as a bug, because it seems more of a deficiency than anything else, but Jassing's comment has reminded me. If there was ever a plan to add a description to this status line, it would seem like a good time to resolve it.

In the below example, I've moved my cursor to the xxxxxxxxxx parameter, but the line hasn't scrolled to the left to show it. It has only shown up to vvvvvvvv. PB 6.00 Windows 64-bit.

Image