Skip to content

FB_JS ​


Intrinsic define set by the compiler

Syntax ​

` FB_JS

`

Description ​

Define without a value created at compile time in the emscripten version of the compiler, when the -target js-asmjs command line option is used. It can be used to compile parts of the program only for a such target.

Examples ​

start GeSHi

vb
#IFDEF __FB_JS__
  '...instructions only for emscripten target...
#ELSE
  '...instructions not for emscripten target...
#ENDIF

end GeSHi

Differences from QB ​

  • New to FreeBASIC

See also ​

Back to DocToc

Translated from FreeBASIC official docs. Contact us for removal if infringed.
FreeBASIC is an open-source project, not affiliated with Microsoft