A compiler specific constant with the system slash for path operations
#PB_System_Slash = "\" (Windows)
#PB_System_Slash = "/" (Mac OS, Linux)
compiler specific constant with the system slash
Re: Requested API Structure and constants
Slash is '/' on all systems, and Backslash is '\' on all systems.Lebostein wrote:A compiler specific constant with the system slash for path operations
#PB_System_Slash = "\" (Windows)
#PB_System_Slash = "/" (Mac OS, Linux)
Maybe something like #PB_FileSystem_Delimiter would be a better name?
Re: Requested API Structure and constants
@Lebostein
That would be a #PB_ constant, you better off asking for that in Features Request (even if you can declare it by yourself in 10 seconds using a CompilerIf).
This thread is for requesting Windows OS API constant and structures.
That would be a #PB_ constant, you better off asking for that in Features Request (even if you can declare it by yourself in 10 seconds using a CompilerIf).
This thread is for requesting Windows OS API constant and structures.
Fred wrote:... the missing WinAPI structures or constants which aren't predeclared in PureBasic ...
"Have you tried turning it off and on again ?"
A little PureBasic review
A little PureBasic review
Re: Requested API Structure and constants
And why there constants like #True, #False, #Null or #PI? Even simple constants are useful...luis wrote:That would be a #PB_ constant, you better off asking for that in Features Request (even if you can declare it by yourself in 10 seconds using a CompilerIf).
OK. Better rename the thread to "Requested API-Structure and -constants" or "Requested API Structure and API constants"luis wrote:This thread is for requesting Windows OS API constant and structures.