Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Futurebasic/Language/Reference/compileflags

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

COMPILEFLAGS function COMPILEFLAGS Function (+) Appearance (+) Standard (+) Console Syntax flag& = COMPILEFLAGS(_compileConstant) Description Compile statements are directives to the compiler to change the way it evaluates and compiles code. (See COMPILE for a complete list of compiler directives.) Compile flags do not literally exist as accessible variables in the application but are used to set internal flags during compilation. You can use this function to check specific flags which may be required by your application or to provide notes to another programmer about how to improve or streamline their code. LONG IF COMPILEFLAGS(_dimmedVarsOnly) = _false  PRINT "It is much better to check "Use only ¬  DIMensioned variables" in the preferences window." END IF In addition to all of the standard compiler flags, this function can return additional information. _FB3CpuCode      = 0x00020000      '0=68K/1=-PPC _FB3ErrorCount   = 0x00040000      '# of errors so far _FB3WarningCount = 0x00080000      '# of warnings so far _FB3FloatDivChar = 0x00100000      '"/" or "\" _FB3HideWarnings = 0x00200000      'show/hide warnings See Also COMPILE COMPILE LONG IF COMPILE SHUTDOWN