Skip to content

Fb Pcos

Paul Squires edited this page Sep 19, 2026 · 1 revision

Home › Intrinsic Defines › FB_PCOS

FB_PCOS

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.

Remarks

Differences from QB

  • New to FreeBASIC

See also

Examples

#ifdef __FB_PCOS__

  '...instructions for PC-ish OSes...

#else

  '...instructions for other OSes

#endif

Category: Intrinsic Defines
Kind: keyword


Reproduced from the FreeBASIC Wiki Manual under the GNU Free Documentation License 1.3 — with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. Copyright © the FreeBASIC project and wiki contributors. See License.

Clone this wiki locally