FreeBASIC  0.91.0
fbint.bi File Reference
#include "fb.bi"
#include "hash.bi"
#include "stack.bi"
#include "symb.bi"
#include "hlp.bi"
Include dependency graph for fbint.bi:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  FBFILE
 
class  FBTARGET
 
class  FBOPTION
 
class  FBMAIN
 
class  FB_LANG_CTX
 
class  FBENV
 

Macros

#define __FBINT_BI__
 

Enumerations

enum  FB_DATASTMT_ID {
  FB_DATASTMT_ID_NULL = &h0000, FB_DATASTMT_ID_WSTR = &h8000, FB_DATASTMT_ID_LINK = &hffff, FB_DATASTMT_ID_OFFSET = &hfffe,
  FB_DATASTMT_ID_ZSTR = &h0001, FB_DATASTMT_ID_CONST = &h0002
}
 
enum  FBPRINTMASK { FB_PRINTMASK_NEWLINE = &h00000001, FB_PRINTMASK_PAD = &h00000002, FB_PRINTMASK_APPEND_SPACE = &h00000010, FB_PRINTMASK_ISLAST = &h80000000 }
 
enum  FBFILEMODE {
  FB_FILE_MODE_BINARY, FB_FILE_MODE_RANDOM, FB_FILE_MODE_INPUT, FB_FILE_MODE_OUTPUT,
  FB_FILE_MODE_APPEND
}
 
enum  FBFILEACCESS { FB_FILE_ACCESS_ANY, FB_FILE_ACCESS_READ, FB_FILE_ACCESS_WRITE, FB_FILE_ACCESS_READWRITE }
 
enum  FBFILELOCK { FB_FILE_LOCK_SHARED, FB_FILE_LOCK_READ, FB_FILE_LOCK_WRITE, FB_FILE_LOCK_READWRITE }
 
enum  FBOPENKIND {
  FB_FILE_TYPE_FILE, FB_FILE_TYPE_CONS, FB_FILE_TYPE_ERR, FB_FILE_TYPE_PIPE,
  FB_FILE_TYPE_SCRN, FB_FILE_TYPE_LPT, FB_FILE_TYPE_COM, FB_FILE_TYPE_QB
}
 
enum  FB_RTERROR {
  FB_RTERROR_OK = 0, FB_RTERROR_ILLEGALFUNCTIONCALL, FB_RTERROR_FILENOTFOUND, FB_RTERROR_FILEIO,
  FB_RTERROR_OUTOFMEM, FB_RTERROR_ILLEGALRESUME, FB_RTERROR_OUTOFBOUNDS, FB_RTERROR_NULLPTR,
  FB_RTERROR_NOPRIVILEDGES, FB_RTERROR_SIGINT, FB_RTERROR_SIGILL, FB_RTERROR_SIGFPE,
  FB_RTERROR_SIGSEGV, FB_RTERROR_SIGTERM, FB_RTERROR_SIGABRT, FB_RTERROR_SIGQUIT,
  FB_RTERROR_RETURNWITHOUTGOSUB, FB_RTERROR_ENDOFFILE
}
 
enum  FB_TOKEN {
  FB_TK_EOF = 256, FB_TK_EOL, FB_TK_STMTSEP, FB_TK_COMMENT,
  FB_TK_REM, FB_TK_NUMLIT, FB_TK_STRLIT, FB_TK_STRLIT_ESC,
  FB_TK_STRLIT_NOESC, FB_TK_ID, FB_TK_IF, FB_TK_THEN,
  FB_TK_ELSE, FB_TK_ELSEIF, FB_TK_SELECT, FB_TK_CASE,
  FB_TK_IS, FB_TK_WHILE, FB_TK_UNTIL, FB_TK_WEND,
  FB_TK_CONTINUE, FB_TK_EXIT, FB_TK_DO, FB_TK_LOOP,
  FB_TK_WITH, FB_TK_FOR, FB_TK_STEP, FB_TK_NEXT,
  FB_TK_TO, FB_TK_SCOPE, FB_TK_NAMESPACE, FB_TK_USING,
  FB_TK_AND, FB_TK_OR, FB_TK_ANDALSO, FB_TK_ORELSE,
  FB_TK_XOR, FB_TK_EQV, FB_TK_IMP, FB_TK_NOT,
  FB_TK_MOD, FB_TK_SHL, FB_TK_SHR, FB_TK_EQ,
  FB_TK_GT, FB_TK_LT, FB_TK_NE, FB_TK_LE,
  FB_TK_GE, FB_TK_DBLEQ, FB_TK_EXTERN, FB_TK_STATIC,
  FB_TK_DIM, FB_TK_VAR, FB_TK_REDIM, FB_TK_COMMON,
  FB_TK_SHARED, FB_TK_PRESERVE, FB_TK_ENDIF, FB_TK_DEFINED,
  FB_TK_INCLUDE, FB_TK_DYNAMIC, FB_TK_EXPLICIT, FB_TK_BYVAL,
  FB_TK_BYREF, FB_TK_DEFBYTE, FB_TK_DEFUBYTE, FB_TK_DEFSHORT,
  FB_TK_DEFUSHORT, FB_TK_DEFINT, FB_TK_DEFUINT, FB_TK_DEFLNG,
  FB_TK_DEFULNG, FB_TK_DEFLNGINT, FB_TK_DEFULNGINT, FB_TK_DEFSNG,
  FB_TK_DEFDBL, FB_TK_DEFSTR, FB_TK_DECLARE, FB_TK_CONST,
  FB_TK_TYPE, FB_TK_UNION, FB_TK_ENUM, FB_TK_CLASS,
  FB_TK_END, FB_TK_EXPORT, FB_TK_IMPORT, FB_TK_OPTION,
  FB_TK_ASM, FB_TK_SUB, FB_TK_FUNCTION, FB_TK_CONSTRUCTOR,
  FB_TK_DESTRUCTOR, FB_TK_OPERATOR, FB_TK_PROPERTY, FB_TK_EXTENDS,
  FB_TK_IMPLEMENTS, FB_TK_BASE, FB_TK_VIRTUAL, FB_TK_ABSTRACT,
  FB_TK_BYTE, FB_TK_UBYTE, FB_TK_SHORT, FB_TK_USHORT,
  FB_TK_INTEGER, FB_TK_UINT, FB_TK_LONG, FB_TK_ULONG,
  FB_TK_LONGINT, FB_TK_ULONGINT, FB_TK_SINGLE, FB_TK_DOUBLE,
  FB_TK_STRING, FB_TK_ZSTRING, FB_TK_WSTRING, FB_TK_ANY,
  FB_TK_PTR, FB_TK_POINTER, FB_TK_UNSIGNED, FB_TK_AS,
  FB_TK_TYPEOF, FB_TK_PUBLIC, FB_TK_PRIVATE, FB_TK_PROTECTED,
  FB_TK_PASCAL, FB_TK_CDECL, FB_TK_STDCALL, FB_TK_ALIAS,
  FB_TK_LIB, FB_TK_OVERLOAD, FB_TK_NEW, FB_TK_DELETE,
  FB_TK_LET, FB_TK_RETURN, FB_TK_GOTO, FB_TK_GOSUB,
  FB_TK_CALL, FB_TK_VARPTR, FB_TK_STRPTR, FB_TK_PROCPTR,
  FB_TK_SADD, FB_TK_FIELDDEREF, FB_TK_CBYTE, FB_TK_CUBYTE,
  FB_TK_CSHORT, FB_TK_CUSHORT, FB_TK_CINT, FB_TK_CUINT,
  FB_TK_CLNG, FB_TK_CULNG, FB_TK_CLNGINT, FB_TK_CULNGINT,
  FB_TK_CSNG, FB_TK_CDBL, FB_TK_CSIGN, FB_TK_CUNSG,
  FB_TK_CPTR, FB_TK_CAST, FB_TK_LSET, FB_TK_RSET,
  FB_TK_ASC, FB_TK_CHR, FB_TK_WCHR, FB_TK_STR,
  FB_TK_CVD, FB_TK_CVS, FB_TK_CVI, FB_TK_CVL,
  FB_TK_CVSHORT, FB_TK_CVLONGINT, FB_TK_MKD, FB_TK_MKS,
  FB_TK_MKI, FB_TK_MKL, FB_TK_MKSHORT, FB_TK_MKLONGINT,
  FB_TK_WSTR, FB_TK_MID, FB_TK_INSTR, FB_TK_INSTRREV,
  FB_TK_TRIM, FB_TK_RTRIM, FB_TK_LTRIM, FB_TK_LCASE,
  FB_TK_UCASE, FB_TK_RESTORE, FB_TK_READ, FB_TK_DATA,
  FB_TK_ABS, FB_TK_SGN, FB_TK_FIX, FB_TK_FRAC,
  FB_TK_SIN, FB_TK_ASIN, FB_TK_COS, FB_TK_ACOS,
  FB_TK_TAN, FB_TK_ATN, FB_TK_SQR, FB_TK_LOG,
  FB_TK_EXP, FB_TK_INT, FB_TK_ATAN2, FB_TK_PRINT,
  FB_TK_LPRINT, FB_TK_LEN, FB_TK_SIZEOF, FB_TK_PEEK,
  FB_TK_POKE, FB_TK_SWAP, FB_TK_OPEN, FB_TK_CLOSE,
  FB_TK_SEEK, FB_TK_PUT, FB_TK_GET, FB_TK_ACCESS,
  FB_TK_WRITE, FB_TK_LOCK, FB_TK_INPUT, FB_TK_WINPUT,
  FB_TK_OUTPUT, FB_TK_BINARY, FB_TK_RANDOM, FB_TK_APPEND,
  FB_TK_ENCODING, FB_TK_NAME, FB_TK_SPC, FB_TK_TAB,
  FB_TK_LINE, FB_TK_VIEW, FB_TK_UNLOCK, FB_TK_WIDTH,
  FB_TK_COLOR, FB_TK_FIELD, FB_TK_ERASE, FB_TK_LBOUND,
  FB_TK_UBOUND, FB_TK_VA_FIRST, FB_TK_ON, FB_TK_ERROR,
  FB_TK_LOCAL, FB_TK_ERR, FB_TK_RESUME, FB_TK_IIF,
  FB_TK_PSET, FB_TK_PRESET, FB_TK_POINT, FB_TK_CIRCLE,
  FB_TK_WINDOW, FB_TK_PALETTE, FB_TK_SCREEN, FB_TK_SCREENQB,
  FB_TK_PAINT, FB_TK_DRAW, FB_TK_IMAGECREATE, FB_TK_THREADCALL,
  FB_TOKENS = FB_TK_THREADCALL - FB_TK_EOF
}
 
enum  FB_TKCLASS {
  FB_TKCLASS_IDENTIFIER, FB_TKCLASS_KEYWORD, FB_TKCLASS_QUIRKWD, FB_TKCLASS_NUMLITERAL,
  FB_TKCLASS_STRLITERAL, FB_TKCLASS_OPERATOR, FB_TKCLASS_DELIMITER, FB_TKCLASS_UNKNOWN
}
 
enum  FBFILE_FORMAT {
  FBFILE_FORMAT_ASCII, FBFILE_FORMAT_UTF8, FBFILE_FORMAT_UTF16LE, FBFILE_FORMAT_UTF16BE,
  FBFILE_FORMAT_UTF32LE, FBFILE_FORMAT_UTF32BE
}
 
enum  FB_TARGETOPT {
  FB_TARGETOPT_UNIX = &h00000001, FB_TARGETOPT_UNDERSCORE = &h00000002, FB_TARGETOPT_EXPORT = &h00000004, FB_TARGETOPT_CALLEEPOPSHIDDENPTR = &h00000008,
  FB_TARGETOPT_RETURNINREGS = &h00000010
}
 

Functions

function_as_string fbGetInputFileParentDir ()
 
sub fbAddLib (byval_as_zstring_ptr libname)
 
sub fbAddLibPath (byval_as_zstring_ptr path)
 

Variables

const VAR FB_MINSTACKSIZE = 32 * 1024
 
const VAR FB_DEFSTACKSIZE = 1024 * 1024
 
const VAR FB_MAXINTNAMELEN = 1 + FB_MAXNAMELEN + 1 + 1 + 2
 
const VAR FB_MAXINTLITLEN = FB_MAXLITLEN + 32
 
const VAR FB_MAXGOTBITEMS = 64
 
const VAR FB_INITSYMBOLNODES = 8000
 
const VAR FB_INITFIELDNODES = 16
 
const VAR FB_INITDEFARGNODES = 500
 
const VAR FB_INITDEFTOKNODES = 1000
 
const VAR FB_INITDIMNODES = 400
 
const VAR FB_INITLIBNODES = 20
 
const VAR FB_INITFWDREFNODES = 500
 
const VAR FB_INITVARININODES = 1000
 
const VAR FB_INITINCFILES = 256
 
const VAR FB_INITSTMTSTACKNODES = 128
 
const VAR FB_DATASTMT_PREFIX = "_{fbdata}_"
 
const VAR FB_MAINSCOPE = 0
 
const VAR FB_MAINPROCNAME = "__FB_MAINPROC__"
 
const VAR FB_MODLEVELNAME = "__FB_MODLEVELPROC__"
 
const VAR FB_GLOBCTORNAME = "_GLOBAL__I"
 
const VAR FB_GLOBDTORNAME = "_GLOBAL__D"
 
const VAR FB_INSTANCEPTR = "THIS"
 
const VAR CHAR_NULL = 00
 
const VAR CHAR_BELL = 07
 
const VAR CHAR_BKSPC = 08
 
const VAR CHAR_TAB = 09
 
const VAR CHAR_LF = 10
 
const VAR CHAR_VTAB = 11
 
const VAR CHAR_FORMFEED = 12
 
const VAR CHAR_CR = 13
 
const VAR CHAR_SPACE = 32
 
const VAR CHAR_0 = 48
 
const VAR CHAR_1 = 49
 
const VAR CHAR_2 = 50
 
const VAR CHAR_3 = 51
 
const VAR CHAR_4 = 52
 
const VAR CHAR_5 = 53
 
const VAR CHAR_6 = 54
 
const VAR CHAR_7 = 55
 
const VAR CHAR_8 = 56
 
const VAR CHAR_9 = 57
 
const VAR CHAR_AUPP = 65
 
const VAR CHAR_ALOW = 97
 
const VAR CHAR_BUPP = 66
 
const VAR CHAR_BLOW = 98
 
const VAR CHAR_CUPP = 67
 
const VAR CHAR_CLOW = 99
 
const VAR CHAR_DUPP = 68
 
const VAR CHAR_DLOW = 100
 
const VAR CHAR_EUPP = 69
 
const VAR CHAR_ELOW = 101
 
const VAR CHAR_FUPP = 70
 
const VAR CHAR_FLOW = 102
 
const VAR CHAR_GUPP = 71
 
const VAR CHAR_GLOW = 103
 
const VAR CHAR_HUPP = 72
 
const VAR CHAR_HLOW = 104
 
const VAR CHAR_IUPP = 73
 
const VAR CHAR_ILOW = 105
 
const VAR CHAR_JUPP = 74
 
const VAR CHAR_JLOW = 106
 
const VAR CHAR_KUPP = 75
 
const VAR CHAR_KLOW = 107
 
const VAR CHAR_LUPP = 76
 
const VAR CHAR_LLOW = 108
 
const VAR CHAR_MUPP = 77
 
const VAR CHAR_MLOW = 109
 
const VAR CHAR_NUPP = 78
 
const VAR CHAR_NLOW = 110
 
const VAR CHAR_OUPP = 79
 
const VAR CHAR_OLOW = 111
 
const VAR CHAR_PUPP = 80
 
const VAR CHAR_PLOW = 112
 
const VAR CHAR_QUPP = 81
 
const VAR CHAR_QLOW = 113
 
const VAR CHAR_RUPP = 82
 
const VAR CHAR_RLOW = 114
 
const VAR CHAR_SUPP = 83
 
const VAR CHAR_SLOW = 115
 
const VAR CHAR_TUPP = 84
 
const VAR CHAR_TLOW = 116
 
const VAR CHAR_UUPP = 85
 
const VAR CHAR_ULOW = 117
 
const VAR CHAR_VUPP = 86
 
const VAR CHAR_VLOW = 118
 
const VAR CHAR_WUPP = 87
 
const VAR CHAR_WLOW = 119
 
const VAR CHAR_XUPP = 88
 
const VAR CHAR_XLOW = 120
 
const VAR CHAR_YUPP = 89
 
const VAR CHAR_YLOW = 121
 
const VAR CHAR_ZUPP = 90
 
const VAR CHAR_ZLOW = 122
 
const VAR CHAR_LPRNT = 40
 
const VAR CHAR_RPRNT = 41
 
const VAR CHAR_COMMA = 44
 
const VAR CHAR_DOT = 46
 
const VAR CHAR_PLUS = 43
 
const VAR CHAR_MINUS = 45
 
const VAR CHAR_RSLASH = 92
 
const VAR CHAR_SLASH = 47
 
const VAR CHAR_CART = 94
 
const VAR CHAR_EQ = 61
 
const VAR CHAR_LT = 60
 
const VAR CHAR_GT = 62
 
const VAR CHAR_AMP = 38
 
const VAR CHAR_UNDER = 95
 
const VAR CHAR_EXCL = 33
 
const VAR CHAR_SHARP = 35
 
const VAR CHAR_DOLAR = 36
 
const VAR CHAR_PERC = 37
 
const VAR CHAR_QUOTE = 34
 
const VAR CHAR_APOST = 39
 
const VAR CHAR_TIMES = 42
 
const VAR CHAR_STAR = CHAR_TIMES
 
const VAR CHAR_COLON = 58
 
const VAR CHAR_SEMICOLON = 59
 
const VAR CHAR_AT = 64
 
const VAR CHAR_QUESTION = 63
 
const VAR CHAR_TILD = 126
 
const VAR CHAR_ESC = 27
 
const VAR CHAR_LBRACE = 123
 
const VAR CHAR_RBRACE = 125
 
const VAR CHAR_LBRACKET = 91
 
const VAR CHAR_RBRACKET = 93
 
const VAR FB_INTSCAPECHAR = CHAR_ESC
 
const VAR FB_TK_DIRECTIVECHAR = CHAR_DOLAR
 
const VAR FB_TK_DECLSEPCHAR = CHAR_COMMA
 
const VAR FB_TK_ASSIGN = FB_TK_EQ
 
const VAR FB_TK_DEREFCHAR = CHAR_STAR
 
const VAR FB_TK_ADDROFCHAR = CHAR_AT
 
const VAR FB_TK_INTTYPECHAR = CHAR_PERC
 
const VAR FB_TK_LNGTYPECHAR = CHAR_AMP
 
const VAR FB_TK_SGNTYPECHAR = CHAR_EXCL
 
const VAR FB_TK_DBLTYPECHAR = CHAR_SHARP
 
const VAR FB_TK_STRTYPECHAR = CHAR_DOLAR
 
common FBENV env
 

Macro Definition Documentation

#define __FBINT_BI__

Definition at line 2 of file fbint.bi.

Enumeration Type Documentation

Enumerator
FB_DATASTMT_ID_NULL 
FB_DATASTMT_ID_WSTR 
FB_DATASTMT_ID_LINK 
FB_DATASTMT_ID_OFFSET 
FB_DATASTMT_ID_ZSTR 
FB_DATASTMT_ID_CONST 

Definition at line 670 of file fbint.bi.

enum FB_RTERROR
Enumerator
FB_RTERROR_OK 
FB_RTERROR_ILLEGALFUNCTIONCALL 
FB_RTERROR_FILENOTFOUND 
FB_RTERROR_FILEIO 
FB_RTERROR_OUTOFMEM 
FB_RTERROR_ILLEGALRESUME 
FB_RTERROR_OUTOFBOUNDS 
FB_RTERROR_NULLPTR 
FB_RTERROR_NOPRIVILEDGES 
FB_RTERROR_SIGINT 
FB_RTERROR_SIGILL 
FB_RTERROR_SIGFPE 
FB_RTERROR_SIGSEGV 
FB_RTERROR_SIGTERM 
FB_RTERROR_SIGABRT 
FB_RTERROR_SIGQUIT 
FB_RTERROR_RETURNWITHOUTGOSUB 
FB_RTERROR_ENDOFFILE 

Definition at line 726 of file fbint.bi.

Enumerator
FB_TARGETOPT_UNIX 
FB_TARGETOPT_UNDERSCORE 
FB_TARGETOPT_EXPORT 
FB_TARGETOPT_CALLEEPOPSHIDDENPTR 
FB_TARGETOPT_RETURNINREGS 

Definition at line 1174 of file fbint.bi.

enum FB_TKCLASS
Enumerator
FB_TKCLASS_IDENTIFIER 
FB_TKCLASS_KEYWORD 
FB_TKCLASS_QUIRKWD 
FB_TKCLASS_NUMLITERAL 
FB_TKCLASS_STRLITERAL 
FB_TKCLASS_OPERATOR 
FB_TKCLASS_DELIMITER 
FB_TKCLASS_UNKNOWN 

Definition at line 1141 of file fbint.bi.

enum FB_TOKEN
Enumerator
FB_TK_EOF 
FB_TK_EOL 
FB_TK_STMTSEP 
FB_TK_COMMENT 
FB_TK_REM 
FB_TK_NUMLIT 
FB_TK_STRLIT 
FB_TK_STRLIT_ESC 
FB_TK_STRLIT_NOESC 
FB_TK_ID 
FB_TK_IF 
FB_TK_THEN 
FB_TK_ELSE 
FB_TK_ELSEIF 
FB_TK_SELECT 
FB_TK_CASE 
FB_TK_IS 
FB_TK_WHILE 
FB_TK_UNTIL 
FB_TK_WEND 
FB_TK_CONTINUE 
FB_TK_EXIT 
FB_TK_DO 
FB_TK_LOOP 
FB_TK_WITH 
FB_TK_FOR 
FB_TK_STEP 
FB_TK_NEXT 
FB_TK_TO 
FB_TK_SCOPE 
FB_TK_NAMESPACE 
FB_TK_USING 
FB_TK_AND 
FB_TK_OR 
FB_TK_ANDALSO 
FB_TK_ORELSE 
FB_TK_XOR 
FB_TK_EQV 
FB_TK_IMP 
FB_TK_NOT 
FB_TK_MOD 
FB_TK_SHL 
FB_TK_SHR 
FB_TK_EQ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_PEEK 
FB_TK_POKE 
FB_TK_SWAP 
FB_TK_OPEN 
FB_TK_CLOSE 
FB_TK_SEEK 
FB_TK_PUT 
FB_TK_GET 
FB_TK_ACCESS 
FB_TK_WRITE 
FB_TK_LOCK 
FB_TK_INPUT 
FB_TK_WINPUT 
FB_TK_OUTPUT 
FB_TK_BINARY 
FB_TK_RANDOM 
FB_TK_APPEND 
FB_TK_ENCODING 
FB_TK_NAME 
FB_TK_SPC 
FB_TK_TAB 
FB_TK_LINE 
FB_TK_VIEW 
FB_TK_UNLOCK 
FB_TK_WIDTH 
FB_TK_COLOR 
FB_TK_FIELD 
FB_TK_ERASE 
FB_TK_LBOUND 
FB_TK_UBOUND 
FB_TK_VA_FIRST 
FB_TK_ON 
FB_TK_ERROR 
FB_TK_LOCAL 
FB_TK_ERR 
FB_TK_RESUME 
FB_TK_IIF 
FB_TK_PSET 
FB_TK_PRESET 
FB_TK_POINT 
FB_TK_CIRCLE 
FB_TK_WINDOW 
FB_TK_PALETTE 
FB_TK_SCREEN 
FB_TK_SCREENQB 
FB_TK_PAINT 
FB_TK_DRAW 
FB_TK_IMAGECREATE 
FB_TK_THREADCALL 
FB_TOKENS 

Definition at line 845 of file fbint.bi.

Enumerator
FBFILE_FORMAT_ASCII 
FBFILE_FORMAT_UTF8 
FBFILE_FORMAT_UTF16LE 
FBFILE_FORMAT_UTF16BE 
FBFILE_FORMAT_UTF32LE 
FBFILE_FORMAT_UTF32BE 

Definition at line 1157 of file fbint.bi.

Enumerator
FB_FILE_ACCESS_ANY 
FB_FILE_ACCESS_READ 
FB_FILE_ACCESS_WRITE 
FB_FILE_ACCESS_READWRITE 

Definition at line 700 of file fbint.bi.

enum FBFILELOCK
Enumerator
FB_FILE_LOCK_SHARED 
FB_FILE_LOCK_READ 
FB_FILE_LOCK_WRITE 
FB_FILE_LOCK_READWRITE 

Definition at line 707 of file fbint.bi.

enum FBFILEMODE
Enumerator
FB_FILE_MODE_BINARY 
FB_FILE_MODE_RANDOM 
FB_FILE_MODE_INPUT 
FB_FILE_MODE_OUTPUT 
FB_FILE_MODE_APPEND 

Definition at line 692 of file fbint.bi.

enum FBOPENKIND
Enumerator
FB_FILE_TYPE_FILE 
FB_FILE_TYPE_CONS 
FB_FILE_TYPE_ERR 
FB_FILE_TYPE_PIPE 
FB_FILE_TYPE_SCRN 
FB_FILE_TYPE_LPT 
FB_FILE_TYPE_COM 
FB_FILE_TYPE_QB 

Definition at line 714 of file fbint.bi.

Enumerator
FB_PRINTMASK_NEWLINE 
FB_PRINTMASK_PAD 
FB_PRINTMASK_APPEND_SPACE 
FB_PRINTMASK_ISLAST 

Definition at line 684 of file fbint.bi.

Function Documentation

sub fbAddLib ( byval_as_zstring_ptr  libname)

Definition at line 759 of file fb.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

sub fbAddLibPath ( byval_as_zstring_ptr  path)

Definition at line 763 of file fb.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

function_as_string fbGetInputFileParentDir ( )

Definition at line 746 of file fb.bas.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

const VAR CHAR_0 = 48

Definition at line 770 of file fbint.bi.

const VAR CHAR_1 = 49

Definition at line 771 of file fbint.bi.

const VAR CHAR_2 = 50

Definition at line 772 of file fbint.bi.

const VAR CHAR_3 = 51

Definition at line 773 of file fbint.bi.

const VAR CHAR_4 = 52

Definition at line 774 of file fbint.bi.

const VAR CHAR_5 = 53

Definition at line 775 of file fbint.bi.

const VAR CHAR_6 = 54

Definition at line 776 of file fbint.bi.

const VAR CHAR_7 = 55

Definition at line 777 of file fbint.bi.

const VAR CHAR_8 = 56

Definition at line 778 of file fbint.bi.

const VAR CHAR_9 = 57

Definition at line 779 of file fbint.bi.

const VAR CHAR_ALOW = 97

Definition at line 780 of file fbint.bi.

const VAR CHAR_AMP = 38

Definition at line 818 of file fbint.bi.

const VAR CHAR_APOST = 39

Definition at line 825 of file fbint.bi.

const VAR CHAR_AT = 64

Definition at line 830 of file fbint.bi.

const VAR CHAR_AUPP = 65

Definition at line 780 of file fbint.bi.

const VAR CHAR_BELL = 07

Definition at line 762 of file fbint.bi.

const VAR CHAR_BKSPC = 08

Definition at line 763 of file fbint.bi.

const VAR CHAR_BLOW = 98

Definition at line 781 of file fbint.bi.

const VAR CHAR_BUPP = 66

Definition at line 781 of file fbint.bi.

const VAR CHAR_CART = 94

Definition at line 814 of file fbint.bi.

const VAR CHAR_CLOW = 99

Definition at line 782 of file fbint.bi.

const VAR CHAR_COLON = 58

Definition at line 828 of file fbint.bi.

const VAR CHAR_COMMA = 44

Definition at line 808 of file fbint.bi.

const VAR CHAR_CR = 13

Definition at line 768 of file fbint.bi.

const VAR CHAR_CUPP = 67

Definition at line 782 of file fbint.bi.

const VAR CHAR_DLOW = 100

Definition at line 783 of file fbint.bi.

const VAR CHAR_DOLAR = 36

Definition at line 822 of file fbint.bi.

const VAR CHAR_DOT = 46

Definition at line 809 of file fbint.bi.

const VAR CHAR_DUPP = 68

Definition at line 783 of file fbint.bi.

const VAR CHAR_ELOW = 101

Definition at line 784 of file fbint.bi.

const VAR CHAR_EQ = 61

Definition at line 815 of file fbint.bi.

const VAR CHAR_ESC = 27

Definition at line 833 of file fbint.bi.

const VAR CHAR_EUPP = 69

Definition at line 784 of file fbint.bi.

const VAR CHAR_EXCL = 33

Definition at line 820 of file fbint.bi.

const VAR CHAR_FLOW = 102

Definition at line 785 of file fbint.bi.

const VAR CHAR_FORMFEED = 12

Definition at line 767 of file fbint.bi.

const VAR CHAR_FUPP = 70

Definition at line 785 of file fbint.bi.

const VAR CHAR_GLOW = 103

Definition at line 786 of file fbint.bi.

const VAR CHAR_GT = 62

Definition at line 817 of file fbint.bi.

const VAR CHAR_GUPP = 71

Definition at line 786 of file fbint.bi.

const VAR CHAR_HLOW = 104

Definition at line 787 of file fbint.bi.

const VAR CHAR_HUPP = 72

Definition at line 787 of file fbint.bi.

const VAR CHAR_ILOW = 105

Definition at line 788 of file fbint.bi.

const VAR CHAR_IUPP = 73

Definition at line 788 of file fbint.bi.

const VAR CHAR_JLOW = 106

Definition at line 789 of file fbint.bi.

const VAR CHAR_JUPP = 74

Definition at line 789 of file fbint.bi.

const VAR CHAR_KLOW = 107

Definition at line 790 of file fbint.bi.

const VAR CHAR_KUPP = 75

Definition at line 790 of file fbint.bi.

const VAR CHAR_LBRACE = 123

Definition at line 834 of file fbint.bi.

const VAR CHAR_LBRACKET = 91

Definition at line 836 of file fbint.bi.

const VAR CHAR_LF = 10

Definition at line 765 of file fbint.bi.

const VAR CHAR_LLOW = 108

Definition at line 791 of file fbint.bi.

const VAR CHAR_LPRNT = 40

Definition at line 806 of file fbint.bi.

const VAR CHAR_LT = 60

Definition at line 816 of file fbint.bi.

const VAR CHAR_LUPP = 76

Definition at line 791 of file fbint.bi.

const VAR CHAR_MINUS = 45

Definition at line 811 of file fbint.bi.

const VAR CHAR_MLOW = 109

Definition at line 792 of file fbint.bi.

const VAR CHAR_MUPP = 77

Definition at line 792 of file fbint.bi.

const VAR CHAR_NLOW = 110

Definition at line 793 of file fbint.bi.

const VAR CHAR_NULL = 00

Definition at line 761 of file fbint.bi.

const VAR CHAR_NUPP = 78

Definition at line 793 of file fbint.bi.

const VAR CHAR_OLOW = 111

Definition at line 794 of file fbint.bi.

const VAR CHAR_OUPP = 79

Definition at line 794 of file fbint.bi.

const VAR CHAR_PERC = 37

Definition at line 823 of file fbint.bi.

const VAR CHAR_PLOW = 112

Definition at line 795 of file fbint.bi.

const VAR CHAR_PLUS = 43

Definition at line 810 of file fbint.bi.

const VAR CHAR_PUPP = 80

Definition at line 795 of file fbint.bi.

const VAR CHAR_QLOW = 113

Definition at line 796 of file fbint.bi.

const VAR CHAR_QUESTION = 63

Definition at line 831 of file fbint.bi.

const VAR CHAR_QUOTE = 34

Definition at line 824 of file fbint.bi.

const VAR CHAR_QUPP = 81

Definition at line 796 of file fbint.bi.

const VAR CHAR_RBRACE = 125

Definition at line 835 of file fbint.bi.

const VAR CHAR_RBRACKET = 93

Definition at line 837 of file fbint.bi.

const VAR CHAR_RLOW = 114

Definition at line 797 of file fbint.bi.

const VAR CHAR_RPRNT = 41

Definition at line 807 of file fbint.bi.

const VAR CHAR_RSLASH = 92

Definition at line 812 of file fbint.bi.

const VAR CHAR_RUPP = 82

Definition at line 797 of file fbint.bi.

const VAR CHAR_SEMICOLON = 59

Definition at line 829 of file fbint.bi.

const VAR CHAR_SHARP = 35

Definition at line 821 of file fbint.bi.

const VAR CHAR_SLASH = 47

Definition at line 813 of file fbint.bi.

const VAR CHAR_SLOW = 115

Definition at line 798 of file fbint.bi.

const VAR CHAR_SPACE = 32

Definition at line 769 of file fbint.bi.

const VAR CHAR_STAR = CHAR_TIMES

Definition at line 827 of file fbint.bi.

const VAR CHAR_SUPP = 83

Definition at line 798 of file fbint.bi.

const VAR CHAR_TAB = 09

Definition at line 764 of file fbint.bi.

const VAR CHAR_TILD = 126

Definition at line 832 of file fbint.bi.

const VAR CHAR_TIMES = 42

Definition at line 826 of file fbint.bi.

const VAR CHAR_TLOW = 116

Definition at line 799 of file fbint.bi.

const VAR CHAR_TUPP = 84

Definition at line 799 of file fbint.bi.

const VAR CHAR_ULOW = 117

Definition at line 800 of file fbint.bi.

const VAR CHAR_UNDER = 95

Definition at line 819 of file fbint.bi.

const VAR CHAR_UUPP = 85

Definition at line 800 of file fbint.bi.

const VAR CHAR_VLOW = 118

Definition at line 801 of file fbint.bi.

const VAR CHAR_VTAB = 11

Definition at line 766 of file fbint.bi.

const VAR CHAR_VUPP = 86

Definition at line 801 of file fbint.bi.

const VAR CHAR_WLOW = 119

Definition at line 802 of file fbint.bi.

const VAR CHAR_WUPP = 87

Definition at line 802 of file fbint.bi.

const VAR CHAR_XLOW = 120

Definition at line 803 of file fbint.bi.

const VAR CHAR_XUPP = 88

Definition at line 803 of file fbint.bi.

const VAR CHAR_YLOW = 121

Definition at line 804 of file fbint.bi.

const VAR CHAR_YUPP = 89

Definition at line 804 of file fbint.bi.

const VAR CHAR_ZLOW = 122

Definition at line 805 of file fbint.bi.

const VAR CHAR_ZUPP = 90

Definition at line 805 of file fbint.bi.

common FBENV env

Definition at line 1277 of file fbint.bi.

const VAR FB_DATASTMT_PREFIX = "_{fbdata}_"

Definition at line 680 of file fbint.bi.

const VAR FB_DEFSTACKSIZE = 1024 * 1024

Definition at line 650 of file fbint.bi.

const VAR FB_GLOBCTORNAME = "_GLOBAL__I"

Definition at line 751 of file fbint.bi.

const VAR FB_GLOBDTORNAME = "_GLOBAL__D"

Definition at line 752 of file fbint.bi.

const VAR FB_INITDEFARGNODES = 500

Definition at line 660 of file fbint.bi.

const VAR FB_INITDEFTOKNODES = 1000

Definition at line 661 of file fbint.bi.

const VAR FB_INITDIMNODES = 400

Definition at line 662 of file fbint.bi.

const VAR FB_INITFIELDNODES = 16

Definition at line 659 of file fbint.bi.

const VAR FB_INITFWDREFNODES = 500

Definition at line 664 of file fbint.bi.

const VAR FB_INITINCFILES = 256

Definition at line 666 of file fbint.bi.

const VAR FB_INITLIBNODES = 20

Definition at line 663 of file fbint.bi.

const VAR FB_INITSTMTSTACKNODES = 128

Definition at line 667 of file fbint.bi.

const VAR FB_INITSYMBOLNODES = 8000

Definition at line 658 of file fbint.bi.

const VAR FB_INITVARININODES = 1000

Definition at line 665 of file fbint.bi.

const VAR FB_INSTANCEPTR = "THIS"

Definition at line 754 of file fbint.bi.

const VAR FB_INTSCAPECHAR = CHAR_ESC

Definition at line 841 of file fbint.bi.

const VAR FB_MAINPROCNAME = "__FB_MAINPROC__"

Definition at line 749 of file fbint.bi.

const VAR FB_MAINSCOPE = 0

Definition at line 748 of file fbint.bi.

const VAR FB_MAXGOTBITEMS = 64

Definition at line 655 of file fbint.bi.

const VAR FB_MAXINTLITLEN = FB_MAXLITLEN + 32

Definition at line 653 of file fbint.bi.

const VAR FB_MAXINTNAMELEN = 1 + FB_MAXNAMELEN + 1 + 1 + 2

Definition at line 652 of file fbint.bi.

const VAR FB_MINSTACKSIZE = 32 * 1024

Definition at line 649 of file fbint.bi.

const VAR FB_MODLEVELNAME = "__FB_MODLEVELPROC__"

Definition at line 750 of file fbint.bi.

const VAR FB_TK_ADDROFCHAR = CHAR_AT

Definition at line 1131 of file fbint.bi.

const VAR FB_TK_ASSIGN = FB_TK_EQ

Definition at line 1129 of file fbint.bi.

const VAR FB_TK_DBLTYPECHAR = CHAR_SHARP

Definition at line 1136 of file fbint.bi.

const VAR FB_TK_DECLSEPCHAR = CHAR_COMMA

Definition at line 1128 of file fbint.bi.

const VAR FB_TK_DEREFCHAR = CHAR_STAR

Definition at line 1130 of file fbint.bi.

const VAR FB_TK_DIRECTIVECHAR = CHAR_DOLAR

Definition at line 1127 of file fbint.bi.

const VAR FB_TK_INTTYPECHAR = CHAR_PERC

Definition at line 1133 of file fbint.bi.

const VAR FB_TK_LNGTYPECHAR = CHAR_AMP

Definition at line 1134 of file fbint.bi.

const VAR FB_TK_SGNTYPECHAR = CHAR_EXCL

Definition at line 1135 of file fbint.bi.

const VAR FB_TK_STRTYPECHAR = CHAR_DOLAR

Definition at line 1137 of file fbint.bi.