[PB6.03beta5] ReDim can't be found in documentation

Everything else that doesn't fall into one of the other PB categories.
User avatar
marcoagpinto
Addict
Addict
Posts: 1051
Joined: Sun Mar 10, 2013 3:01 pm
Location: Portugal
Contact:

[PB6.03beta5] ReDim can't be found in documentation

Post by marcoagpinto »

Heya,

Pressing F1 in "Redim" or searching for it in the help window doesn't find any documentation regarding it.

// Moved from "Bugs - Documentation" to "General Discussion" (Kiffi)
Little John
Addict
Addict
Posts: 4789
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: [PB6.03beta5] ReDim can't be found in documentation

Post by Little John »

marcoagpinto wrote: Tue Aug 22, 2023 9:46 am Pressing F1 in "Redim" or searching for it in the help window doesn't find any documentation regarding it.
Pressing F1 on Redim shows the Dim page of the help here (PB 6.03 beta 5 (x64) on Windows).
And Redim is explained on that page.
User avatar
marcoagpinto
Addict
Addict
Posts: 1051
Joined: Sun Mar 10, 2013 3:01 pm
Location: Portugal
Contact:

Re: [PB6.03beta5] ReDim can't be found in documentation

Post by marcoagpinto »

Yes, I have just scrolled down to the bottom of the help, sorry!

What about when we are writing it in the IDE?

It shows no syntax.
User avatar
Demivec
Addict
Addict
Posts: 4269
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Re: [PB6.03beta5] ReDim can't be found in documentation

Post by Demivec »

marcoagpinto wrote: Tue Aug 22, 2023 10:20 am Yes, I have just scrolled down to the bottom of the help, sorry!

What about when we are writing it in the IDE?

It shows no syntax.
From the help file:

Code: Select all

Command help in the status bar:

While typing, the IDE will show the needed parameters for any PureBasic 
function whose parameters you are currently typing. This makes it easy 
to see any more parameters you still have to add to this function. This 
also works for procedures, prototypes, interfaces or imported functions 
in your code as long as they are declared in the same source code or 
project.
'ReDim' is a keyword command not a library command. You also wouldn't see syntax help for 'If' either.
AZJIO
Addict
Addict
Posts: 2191
Joined: Sun May 14, 2017 1:48 am

Re: [PB6.03beta5] ReDim can't be found in documentation

Post by AZJIO »

You can make a link at the beginning of the page

Code: Select all

<li><a href="#ReDim"><u><font size="3">ReDim</font></u></a></li>
...
<a name="ReDim"></a>
But I don't know if this will be a problem when compiling the help file to other platforms.

Here's an example
Similarly, the structures
Demivec wrote: Tue Aug 22, 2023 1:58 pm You also wouldn't see syntax help for 'If' either.
https://www.purebasic.com/documentation ... endif.html
User avatar
Demivec
Addict
Addict
Posts: 4269
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Re: [PB6.03beta5] ReDim can't be found in documentation

Post by Demivec »

AZJIO wrote: Tue Aug 22, 2023 9:55 pm
Demivec wrote: Tue Aug 22, 2023 1:58 pm You also wouldn't see syntax help for 'If' either.
https://www.purebasic.com/documentation ... endif.html
My statement was in reference only to syntax help appearing in the status bar not in the help file.
Post Reply