Page 1 of 1

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

Posted: Tue Aug 22, 2023 9:46 am
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)

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

Posted: Tue Aug 22, 2023 10:01 am
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.

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

Posted: Tue Aug 22, 2023 10:20 am
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.

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

Posted: Tue Aug 22, 2023 1:58 pm
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.

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

Posted: Tue Aug 22, 2023 9:55 pm
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

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

Posted: Wed Aug 23, 2023 3:07 am
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.