"help" on procedures

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
jassing
Addict
Addict
Posts: 1885
Joined: Wed Feb 17, 2010 12:00 am

"help" on procedures

Post 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
BarryG
Addict
Addict
Posts: 4118
Joined: Thu Apr 18, 2019 8:17 am

Re: "help" on procedures

Post 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.
User avatar
Bisonte
Addict
Addict
Posts: 1305
Joined: Tue Oct 09, 2007 2:15 am

Re: "help" on procedures

Post by Bisonte »

PureBasic 6.21 (Windows x64) | Windows 11 Pro | AsRock B850 Steel Legend Wifi | R7 9800x3D | 64GB RAM | RTX 5080 | ThermaltakeView 270 TG ARGB | build by vannicom​​
English is not my native language... (I often use DeepL.)
BarryG
Addict
Addict
Posts: 4118
Joined: Thu Apr 18, 2019 8:17 am

Re: "help" on procedures

Post by BarryG »

That's it! :)
PBJim
Enthusiast
Enthusiast
Posts: 293
Joined: Fri Jan 19, 2024 11:56 pm

Re: "help" on procedures

Post 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
Post Reply