AlignC as a keyword
Posted: Sun Jan 07, 2024 3:38 am
Could you add AlignC as a keyword, I spent an hours padding structures because I forgot about the flag #PB_Structure_AlignC
http://www.purebasic.com
https://www.purebasic.fr/english/
Code: Select all
Structure <name> [Extends <name>] [Align <numeric constant expression/#PB_Structure_AlignC>]
...
EndStructure
Fred wrote: Sun Jan 07, 2024 10:02 am I fail to see how it would have help you if you have forget about such functionality. Or may be to rework the help syntax here https://www.purebasic.com/documentation ... tures.html
Code: Select all
Structure <name> [Extends <name>] [Align <numeric constant expression/#PB_Structure_AlignC>] ... EndStructure
I have really poor memory these days and forget all sorts of things but I was sure there was once an AlignC, it turns out it was a macro in another one of my codes. Align 4 or Align 16 makes sense but Align #PB_Structure_AlignC not so muchFred wrote: Sun Jan 07, 2024 10:02 am I fail to see how it would have help you if you have forget about such functionality. Or may be to rework the help syntax here https://www.purebasic.com/documentation ... tures.html
Code: Select all
Structure <name> [Extends <name>] [Align <numeric constant expression/#PB_Structure_AlignC>] ... EndStructure