FB_PCOS
- Source: https://www.freebasic.net/wiki/wikka.php?wakka=KeyPgDdfbpcos
- Last revised: 2016-02-10
Intrinsic define set by the compiler
Syntax
` FB_PCOS
`
Description
Define created at compile time if the OS has filesystem behavior styled like common PC OSes, e.g. DOS, Windows, OS/2, Symbian OS, possibly others. Drive letters, backslashes, that stuff, otherwise undefined.
Examples
start GeSHi
vb
#IFDEF __FB_PCOS__
'...instructions for PC-ish OSes...
#ELSE
'...instructions for other OSes
#ENDIFend GeSHi
Differences from QB
- New to FreeBASIC
See also
__FB_WIN32____FB_DOS____FB_XBOX____FB_UNIX__- Compiler Option: -target
Back to DocToc