Undocumented Features
Posted: Tue Nov 09, 2021 11:01 am
I wasn't sure where to post this. It is not a Coding issue, Bug, or a Feature Request, so I've gone for Discussion.
The other day from a typo when setting up variables, I came across a series of apparent Constants as follows:
#FD_ACCEPT, #FD_CLOSE, #FD_CONNECT, #FD_ODB, #FD_READ, #FD_SETSIZE, #FD_WRITE
#BLACK, #BLACK_BRUSH, #BLACK_PEN, #BLACKNESS, #BLACKONWWHITE
There are others which I have dropped on before. However, there appears to be no mention of them, or why they exist in HELP or elsewhere. Some others are: #TRUETYPE_FONTTYPE, #TRUNCATE_EXISTING, #IMAGE_BITMAP, #IMAGE_CURSOR, #REFERENCE_BLACK_MAX, #READ_CONTROL, #READ_WRITE....., etc, etc. Hundreds of them it does appear. Also not specifically documented, but within HELP are shown #True (1), #False (0) etc, but only shown within the explanation of Gadgets, not as reserved words. Additionally, the other week I came across a mention of the PureBasic utility PureUnit* in the forums, which resulted in my the discovery of that, plus the DocMaker* and others in the SDK folder. None of these or the Libraries have a mention in HELP.
My point is : When so much time and knowledge has clearly been spent creating these, I cannot understand why it appears there has not been any attempt to mention them. (or is it just me that cannot find them?..........looking and not seeing)
I will say that on the PureBasic website, the Online Documentation is helpful and goes a long way to address Libraries and other aspects.
* these come up in PureBasic Forums but if you didn't know about them, or their names, you'd never find them.
The other day from a typo when setting up variables, I came across a series of apparent Constants as follows:
#FD_ACCEPT, #FD_CLOSE, #FD_CONNECT, #FD_ODB, #FD_READ, #FD_SETSIZE, #FD_WRITE
#BLACK, #BLACK_BRUSH, #BLACK_PEN, #BLACKNESS, #BLACKONWWHITE
There are others which I have dropped on before. However, there appears to be no mention of them, or why they exist in HELP or elsewhere. Some others are: #TRUETYPE_FONTTYPE, #TRUNCATE_EXISTING, #IMAGE_BITMAP, #IMAGE_CURSOR, #REFERENCE_BLACK_MAX, #READ_CONTROL, #READ_WRITE....., etc, etc. Hundreds of them it does appear. Also not specifically documented, but within HELP are shown #True (1), #False (0) etc, but only shown within the explanation of Gadgets, not as reserved words. Additionally, the other week I came across a mention of the PureBasic utility PureUnit* in the forums, which resulted in my the discovery of that, plus the DocMaker* and others in the SDK folder. None of these or the Libraries have a mention in HELP.
My point is : When so much time and knowledge has clearly been spent creating these, I cannot understand why it appears there has not been any attempt to mention them. (or is it just me that cannot find them?..........looking and not seeing)
I will say that on the PureBasic website, the Online Documentation is helpful and goes a long way to address Libraries and other aspects.
* these come up in PureBasic Forums but if you didn't know about them, or their names, you'd never find them.