Futurebasic/语言/参考
[[/Define|#define]] newTypeName as oldTypeName<br />
[[Futurebasic/language/reference/Define|#define]] newTypeName as {Pointer to|@|^|.} oldTypeName<br />
[[/Define|#define]] newTypeName as {Handle to|@@|^^|..} oldTypeName<br />
[[/poundif|#if]] condition
::[statementBlock1]
::[ [[/poundelse|#else]]
::[statementBlock2]]
::[[/poundendif|#endIf]]
functionAddress& = [[/fnaddress|@fn]] functionName
positiveValue = [[/abs|abs]] (expr)<br>
radianAngle# = [[/acos|acos]] (expr)<br>
positiveResult# = [[/acosh|acosh]] (expr)<br>
result = exprA [[/and|and]] | && expB <br>
annuityFactor# = [[/annuity|fn annuityY#]] (rate, periods)<br>
[[/appearance_button|appearance button]] [#] [-] id& [, [ state ] [, [ value ] [, [ min ] [, [ max ] [, [ title$ ] [, [ rect ] [, [ type ] ] ] ] ] ] ]<br>
[[/appearance_window|appearance window]] [#] [-] id& [, [ title$ ] [, [ rect ] [, [ windowClass ] [, [ windowAttributes ] [, [ FBAttributes ] ] ] ] ] ]<br>
[[/append|append]] [#] fileID <br>
[[/apple_menu|apple menu]] string$ <br>
string$ = [[/appleeventmessage|AppleEventMessage$]]<br>
ASCIIcode% = [[/asc|asc]] (string$)<br>
ASCIIcode% = [[/asc|asc]] (container$$)<br>
radianAngle# = [[/asin|asin]](expr)<br>
result# = [[/asinh|asinh]](expr)<br>
radianAngle# = [[/atan|atan]](expr)<br>
result# = [[/atanh|atanh]](expr)<br>
radianAngle# = [[/atn|atn]](expr)<br>
[[/autoclip|autoclip]] [=] booleanExpr <span style="color:blue;">/* '''Not Supported in FBtoC''' */</span>
[[/beep|beep]]<br>
[[/begin_enum|begin enum]] [start [,inc]]<br>
[[/begin_globals|begin globals]] <br>
[[/begin_record|begin record]] typeName <br>
[[/begin_union|begin union]] <br>
[[/beginassem|BeginAssem]] <span style="color:blue;">/* '''Not Supported in FBtoC''' */</span><br>
binString$ = [[/binstring|bin$]] (expr)<br>
bitValue = [[/bit|bit]] (bitPos)<br>
[[/blockmove|BlockMove]] sourceAddr&, destinationAddr&, numberBytes& <br>
[[/box|box]] [ fill ] [h, v] to h1, v1 [ to h2, v2 ...]<br>
buttonState = [[/button_function|BUTTON]] [ (ID [, selector ]) ]<br>
buttonHandle& = [[/buttonamp|BUTTON&]] (btnID&|%)<br>
[[/button_statement|BUTTON]] [#] btnID, state, title, btnRect [, btnType ]<br>
[[/button_close|BUTTON CLOSE]] [#] btnID <br>
pString$ = [[/buttontextstring|FN BUTTONTEXTSTRING$]] (bRefNum&)
[ [[/call|CALL]] ] toolboxProcName [ modifiers ] [ ([ { #addrExpr1& | arg1 } [,{ #addrExpr2& | arg2 }...] ]) ]<br>
CASE - See the [[/select_case|SELECT CASE]] statement<br>
character$ = [[/chrstring|CHR$]] (expr)<br>
[[/cfindex|CFINDEX.INCL]]<br>
ignore = [[/cfindexsort|FN CFINDEXSORT]] (whichIndex)<br>
[[/circle|CIRCLE]] [ FILL ] x, y, radius [ { TO | PLOT } startAngle, angleSize ]<br>
[[/clear_statement|CLEAR]] <br>
[[/clear_index|CLEAR]] bytes& [, indexID ]<br>
[[/clear_index|CLEAR]] numElements&, indexID, eltSize<br>
[[/clear_index|CLEAR]] -1<br>
[[/clear_index|CLEAR INDEX$]] [ indexID ]<br>
CLEAR LOCAL - See the [[/local|LOCAL]] statement<br>
[[/clear_lprint|CLEAR LPRINT]] <br>
[[/clear_statement|CLEAR]] <br>
[[/close_folder|CLOSE FOLDER]] wdRefNum% <br>
[[/close_lprint|CLOSE LPRINT]] <br>
[[/cls|CLS]] [ LINE | PAGE ] <br>
[[/color_window|COLOR WINDOW]] {_true | _false} <br>
[[/color|COLOR]] [=] colorExpr <br>
COMPILE END IF - See the [[/compile_long_if|COMPILE LONG IF]] statement <span style="color:blue;font-weight:bold;">/* Not Supported in FBtoC. See [[/poundendif|#ENDIF]] */</span>
[[/compile_long_if|COMPILE LONG IF]] condition <span style="color:blue;font-weight:bold;">/* Not Supported in FBtoC. See [[/poundif|#IF]] */</span><br>
::[statementBlock1]<br>
::[ [[/compile_long_if|COMPILE XELSE]] <br>
::[statementBlock2] ]<br>
::[[/compile_long_if|COMPILE END IF]]
[[/compile_shutdown|COMPILE SHUTDOWN]] "Optional Quoted Remark" <br>
[[/compile|COMPILE]] [ tickCount ] [, compileFlags ]<br>
COMPILE XELSE - See the [[/compile_long_if|COMPILE LONG IF]] statement <span style="color:blue;font-weight:bold;">/* Not Supported in FBtoC. See [[/poundelse|#ELSE]] */</span><br>
flag& = [[/compileflags|COMPILEFLAGS]] (_compileConstant) <br>
versionNum& = [[/compilerversion|COMPILERVERSION]]<br>
compoundFactor# = [[/compound|FN COMPOUND#]] (rate, periods)<br>
[[/compress_dynamic|COMPRESS DYNAMIC]] arrayName <br>
[[/constant_declaration|Constant declaration]] : _constantName = staticExpr <br>
[[/coordinate_window|COORDINATE WINDOW]] <br>
theCosine# = [[/cos|COS]] (expr)<br>
result# = [[/cosh|COSH]] (expr)<br>
currentLine = [[/csrlin|CSRLIN]] <br>
[[/cursor|CURSOR]] [=] intExpr (Standard BASIC)<br>
[[/cursor|CURSOR]] cursorID [, cursorType ] (Appearance Runtime)<br>
var& = [[/cvi|CVI]] (string$)
[[/data|DATA]] item1 [, item2 ...]<br>
dateString$ = [[/datestring|DATE$]]<br>
[[/dec|DEC]] (intVar)<br>
[[/dec_long|DEC]] { LONG | WORD | BYTE } (addr&)<br>
[[/def_apndlng|DEF APNDLNG]] (longExpr, handle&)<br>
[[/def_apndstr|DEF APNDSTR]] (string$, STR#resourceHndl&)<br>
[[/def_blockfill|DEF BLOCKFILL]] (startAddr&, numBytes&, byteValueExpr)<br>
[[/def_border|DEF BORDER]] (twoPixelBorder, { rect | #rectAddr& })<br>
[[/def_btnrect|DEF BTNRECT]] ({ rect | #rectAddr& }, buttonID%)<br>
[[/def_buttonhelpdisplay|DEF BUTTONHELPDISPLAY]] (bntID) <span style="color:blue;">/* '''Not Supported in FBtoC''' */</span> <br>
[[/def_buttonhelpsettext|DEF BUTTONHELPSETTEXT]] (btnID%|&, helpMessage$)<br>
[[/def_buttonhelpshow|DEF BUTTONHELPSHOW]] (showHideFlag)<br>
[[/def_cbox|DEF CBOX]] ({ rect | #rectAddr& }, stringVar$)<br>
[[/def_changedresource|DEF CHANGEDRESOURCE]] (rHndl&) <br>
[[/def_checkoneitem|DEF CHECKONEITEM]] (menuID%, itemID%)<br>
[[/def_clearhandle|DEF CLEARHANDLE]] (handle&)<br>
[[/def_createresfile|DEF CREATERESFILE]] (fileName$)<br>
[[/def_cycle|DEF CYCLE]] (min%, max%, var%)<br>
[[/def_debugnumber|DEF DEBUGNUMBER]] (numericExpression)<br>
[[/def_debugstring|DEF DEBUGSTRING]] (stringExpression)<br>
[[/def_disposeh|DEF DISPOSEH]] (handle&)<br>
[[/def_drawimagefile|DEF DRAWIMAGEFILE]] (fName$, vRef%) <span style="color:blue;">/* '''Not Supported in FBtoC''' */</span><br>
[[/def_dynamicinsertitems|DEF DYNAMICINSERTITEMS]] (gMyDynamicArray,Where&,HowMany&,FillPtr&)<br>
[[/def_dynamicremoveitems|DEF DYNAMICREMOVEITEMS]] (gMyDynamicArray,First&,HowMany&,SavePtr&)<br>
[[/def_embedbutton|DEF EMBEDBUTTON]] (childButtonID&, parentButtonID&)<br>
[[/def_flash|DEF FLASH]]<br>
[[/def_fn_expr|DEF FN]] functionName [(var1 [, var2 ...])] = expr <br>
[[/def_fn_prototype|DEF FN]] functionName [ (var1 [, var2 ...]) ]<br>
[[/def_fn_using|DEF FN]] functionName [(var1 [, var2 ...])] [[/def_fn_using|USING]] FNaddress& <br>
[[/def_getbuttondata|DEF GETBUTTONDATA]] (bRefNum&, part%, tagType&, maxSize&, dataPtr&, actualSize&)<br>
[[/def_getbuttontextselection|DEF GETBUTTONTEXTSELECTION]] (bRefNum&, selStart, selEnd)<br>
[[/def_getimagefilerect|DEF GETIMAGEFILERECT]] (fName$,vRef%,r AS RECT) <span style="color:blue;">/* '''Not Supported in FBtoC''' */</span><br>
[[/def_cbox|DEF LBOX]] ({ rect | #rectAddr& }, stringVar$)<br>
[[/def_lcase|DEF LCASE]] (string$)<br>
[[/def_lcopy|DEF LCOPY]]<br>
[[/def_len|DEF LEN]] [=] stringVarLength <span style="color:blue;">/* '''Not Supported in FBtoC''' */</span><br>
[[/def_longblockfill|DEF LONGBLOCKFILL]] (startPtr&, numBytes&, byteValExpr)<br>
[[/def_lprint|DEF LPRINT]] <br>
[[/def_newwindowposition|DEF NEWWINDOWPOSITIONMETHOD]] (pMethod)<br>
[[/def_open|DEF OPEN]] [=] typeCreatorString$ <br>
[[/def_orsicn|DEF ORSICN]] (x%, y%, sicnID%)<br>
[[/def_page|DEF PAGE]] <br>
[[/def_plotsicn|DEF PLOTSICN]] (x%, y%, sicnID%)<br>
[[/def_printeditfield|DEF PRINTEDITFIELD]] (efNum& | %)<br>
[[/def_cbox|DEF RBOX]] ({ rect | #rectAddr& }, stringVar$)<br>
[[/def_removestr|DEF REMOVESTR]] (str#handle&, item%)<br>
[[/def_setbuttondata|DEF SETBUTTONDATA]] (bRefNum&, part%, tagType&, size&, dataPtr&)<br>
[[/def_setbuttonfocus|DEF SETBUTTONFOCUS]] (bRefNum&)<br>
[[/def_setbuttonfontstyle|DEF SETBUTTONFONTSTYLE]] (bRefNum&, controlFontRecord)<br>
[[/def_setbuttontextselection|DEF SETBUTTONTEXTSELECTION]] (bRefNum&, selStart, selEnd)<br>
[[/def_setbuttontextstring|DEF SETBUTTONTEXTSTRING]] (bRefNum&, pString$)<br>
[[/def_setdoublebyte|DEF SETDOUBLEBYTE]] <span style="color:blue;"> /* '''Not Supported in FBtoC''' */</span><br>
[[/def_setsinglebyte|DEF SETSINGLEBYTE]] <span style="color:blue;">/* '''Not Supported in FBtoC''' */</span><br>
[[/def_setwindowbackground|DEF SETWINDOWBACKGROUND]] (_backgroundConstant,applyNowBool)<br>
[[/def_setwindowbackground|DEF SETWINDOWBACKGROUND]] (rgbColor,applyNowBool) <br>
[[/def_shadowbox|DEF SHADOWBOX]] ({ rect | #rectAddr& })<br>
[[/def_showpop|DEF SHOWPOP]] ({ rect | #rectAddr& })<br>
[[/defstr_long|DEFSTR]] { [[/defstr_long|LONG]] | [[/defstr_long|WORD]] | [[/defstr_long|BYTE]] }<br>
[[/def_tab|DEF TAB]] [=] fieldWidth <br>
[[/def_titlerect|DEF TITLERECT]] (title$, titlePosition%, { rect | #rectAddr& })<br>
[[/def_toggle|DEF TOGGLE]] ({ var% | #intPtr& })<br>
[[/def_transitionrect|DEF TRANSITIONRECT]] (left%, top%, right%, bottom%)<br>
[[/def_truncate|DEF TRUNCATE]] ({ var$ | #stringPtr& })<br>
[[/def_using|DEF USING]] [=] intlMoneyFormat& <br>
[[/def_windowcategory|DEF WINDOWCATEGORY]] (wNum&, category&)<br>
[[/def_windowreposition|DEF WINDOWREPOSITION]] (wRefNum&, parentRefNum&, positionMethod)<br>
[[/defsng|DEFSNG]] letter1 [- thruLtr1 ] [, letter2 [- thruLtr2 ]...]<br>
[[/defsng|DEFDBL]] letter1 [- thruLtr1 ] [, letter2 [- thruLtr2 ]...]<br>
[[/defsng|DEFSTR]] letter1 [- thruLtr1 ] [, letter2 [- thruLtr2 ]...]<br>
[[/defsng|DEFINT]] letter1 [- thruLtr1 ] [, letter2 [- thruLtr2 ]...]<br>
[[/defsng|DEFLONG]] letter1 [- thruLtr1 ] [, letter2 [- thruLtr2 ]...]<br>
[[/delay|DELAY]] count <br>
evnt% | & = [[/dialog_function|DIALOG]] (0)<br>
id% | & = [[/dialog_function|DIALOG]] (evnt)<br>
[[/dialog_statement|DIALOG]] = expr% <br>
[[/dim|DIM]] declaration1 [, declaration2 ...]<br>
DIM DYNAMIC - see the [[/dynamic|DYNAMIC]] statement<br>
DIM END RECORD - see the [[/dim_record|DIM RECORD]] statement <span style="color:blue;">/* '''Not Supported in FBtoC''' */</span><br>
[[/dim_record|DIM RECORD]] recordName <span style="color:blue;"> /* '''Not Supported in FBtoC''' */</span><br>
[[/dim_system|DIM SYSTEM]] staticExpr& [, preferredSize& [, version& [, release& [, aboutStringWith4CharPrefix$ ] ] ] ]<br>
[[/do|DO]] [statementBlock]
[[/do|UNTIL]] expr <br>
[ DIM ] [[/dynamic|DYNAMIC]] arrayName(maxSub1 [, maxSub2 ...]) [AS dataType]
[[/edit|EDIT]] = fieldMargin<br>
fieldContents$ | container$$ = [[/edit_function|EDIT$]] (fieldID)<br>
fieldContents$ | container$$ = [[/edit_function|EDIT$]] (fieldID, lineNumber)<br>
fieldContents$ | container$$ = [[/edit_function|EDIT$]] (fieldID, -1)<br>
fieldContents$ | container$$ = [[/edit_function|EDIT$]] (fieldID, selStart, selEnd)
[[/edit_statement|EDIT$]] (efID) = string$ | &ZTXThandle& | %TEXTresID% | #container$$ font, size, style, mode, red, green, blue
[[/edit_statement|EDIT$]] (efID,lineNumber) = string$ | &ZTXThandle& | %TEXTresID% | #container$$ font, size, style, mode, red, green, blue
[[/edit_statement|EDIT$]] (efID,-1) = string$ | &ZTXThandle& | %TEXTresID% | #container$$ font, size, style, mode, red, green, blue
[[/edit_statement|EDIT$]] (efID,selStart,selEnd) = string$ | &ZTXThandle& | %TEXTresID% | #container$$ font, size, style, mode, red, green, blue
[[/edit_field_close|EDIT FIELD CLOSE]] [#] fieldID% | &
(标准 BASIC)
[[/edit_field|EDIT FIELD]] [#] idExpr [, [ text ] [, [ rect ] [, [ type ] [, efClass ] ] ] ]<br>
[[/edit_field|EDIT FIELD]] 0
(外观管理器)
[[/edit_field|EDIT FIELD]] [#] idExpr [, [ text ] [, [ rect ] [, [ type ], [ efClass ],[ keyFilterProc ] ] ] ]<br>
[[/edit_field|EDIT FIELD]] - idExpr<br>
[[/edit_field|EDIT FIELD]] 0
[[/edit_menu|EDIT MENU]] menuParm
语法 (标准 BASIC)
[[/edit_text|EDIT TEXT]] [ #optionalFieldNum%,] [ font ] [, [ size ] [, [ style ] [, [ mode ] [, red, green, blue ] ] ] ]
语法 (外观运行时)
[[/edit_text|EDIT TEXT]] [ #optionalFieldNum%,] [ font ] [, [ size ] [, [ style ] [, [ mode ] [, foreRGB ] [, backRGB ] ] ] ]
[[/eject|EJECT]] driveExpr <span style="color:blue;">/* '''Not Supported in FBtoC''' */</span><br>
END ENUM - See the [[/begin_enum|BEGIN ENUM]] statement<br>
END FN - See the [[/local_fn|LOCAL FN]] and [[/long_fn|LONG FN]] statement<br>
END GLOBALS - See the [[/begin_globals|BEGIN GLOBALS]] statement<br>
END IF - See the [[/long_if|LONG IF]] statement<br>
END RECORD - See the [[/begin_record|BEGIN RECORD]] statement<br>
END SELECT - See the [[/select_case|SELECT]] statement<br>
ENDASSEM - See the [[/beginassem|BEGINASSEM]] statement <span style="color:blue;">/* '''Not Supported in FBtoC''' */</span>
语法 1
"statementLabel"<br>
[[/enterproc|ENTERPROC]] [ (intVar1 [, intVar2 ...]) ]<br>
::[statementBlock]<br>
::EXITPROC [= intVar3 ]
语法 2
"statementLabel"<br>
[[/enterproc|ENTERPROC FN]] fnName[ (intVar1 [, intVar2 ...]) ] [= type ]<br>
::[statementBlock]<br>
::EXITPROC [= returnValue ]
error# = [[/erf_pound|FN ERF#]] (z#)<br>
complementaryError# = [[/erfc_pound|FN ERFC#]] (z#)<br>
errorInfo% = [[/error_function|ERROR]] <br>
[[/error_statement|ERROR]] = _noErr <br>
eventRecPtr& = [[/event|EVENT]] <br>
eventInfo% = [[/eventperc_function|EVENT%]] <br>
EventInfo& = [[/eventamp_function|EVENT&]] <br>
[[/eventperc_statement|EVENT%]] = shortIntValue%<br>
[[/eventamp_statement|EVENT&]] = longIntValue&<br>
[[/exit_case|EXIT CASE]] <br>
[[/exit_case|EXIT DO]] <br>
[[/exit_fn|EXIT FN]] <br>
[[/exit_case|EXIT FOR]] <br>
[[/exit_case|EXIT NEXT]] <br>
[[/exit_case|EXIT UNTIL]] <br>
[[/exit_case|EXIT WEND]] <br>
[[/exit_case|EXIT WHILE]] <br>
[[/exit|EXIT]] "label" <br>
EXITPROC - See the [[/enterproc|ENTERPROC]] statement <br>
result# = [[/exp|EXP]] (expr)
result& = [[/fbcomparecontainers|FN FBCOMPARECONTAINERS]] (a$$, b$$)<br>
result& = [[/fbcomparehandles|FN FBCOMPAREHANDLES]] (a&, b&)<br>
ignored = [[/fbgetcontrolrect|FN FBGETCONTROLRECT]] (cHndl &, rect)<br>
ignored = [[/fbgetscreenrect|FN FBGETSCREENRECT]] (rect)<br>
name$ = [[/fbgetsystemname$|FN FBGETSYSTEMNAME$]] (nameType)<br>
[[/fbgetsystemname$|FN FBMAKEFSSPEC]] (inVol%, inDir&, name$, FSSpec ) <span style="color:blue;font-weight:bold">/* Not Supported in FBtoC */</span><br>
result& = [[/fbtestforlibrary|FN FBTESTFORLIBRARY]] ("Library Name") <span style="color:blue;font-weight:bold;">/* Not Supported in FBtoC */</span><br>
fileType$ = [[/filesstring_function|FILES$]] <br>
folderName$ = [[/filesstr_ffolder|FILES$]] (_fFolder,[ prompt$ ],, refNumVar%)<br>
folderName$ = [[/filesstr_ffolder|FILES$]] (_FSSpecFolder,[ prompt$ ],, FSSpec) <br>
fileName$ = [[/filesstr_fopen|FILES$]] (_fOpen,[ typeListString$ ], [ promptString$ ], refNumVar%)<br>
fileName$ = [[/filesstr_fopen|FILES$]] (_fOpenPreview,[ typeListString$ ], [ promptString$ ], refNumVar%)<br>
fileName$ = [[/filesstr_fopen|FILES$]] (_FSSpecOpen,[ typeListString$ ], [promptString$], fileSpecRecord)<br>
fileName$ = [[/filesstr_fopen|FILES$]] (_FSSpecOpenPreview,[ typeListString$ ], [ promptString$ ], fileSpecRecord) <br>
fileName$ = [[/filesstr_fsave|FILES$]] (_fSave,[ prompt$ ],[ defaultName$ ], refNumVar%)<br>
fileName$ = [[/filesstr_fsave|FILES$]] (_FSSpecSave,[ prompt$ ],[ defaultName$ ], fileSpecRecord) <br>
[[/fill|FILL]] h, v <br>
action = [[/finderinfo|FINDERINFO]] (countVar%, nameVar$, typeVar&, dirRefNumVar%)<br>
action = [[/finderinfo|FINDERINFO]] (countVar%, @FSSpec[(array)],@OSType&[(array)], dirRefNumVar %)<br>
wholeNum# = [[/fix|FIX]] (expr#)<br>
[[/flushevents|FLUSHEVENTS]] <br>
[[/flushwindowbuffer|FLUSHWINDOWBUFFER]] [ { wRef | { _FBAutoFlushOff | _FBAutoFlushOn } ] <br>
result = [[/fn_toolbox|FN ToolboxFunctionName]] [ modifiers ] [ ([ { #addrExpr1& | arg1 }[,{ #addrExpr2& | arg2 }...] ]) ]<br>
[ result =] [[/fn_userfunction|FN]] functionName [(param1 [, param2 ...])]<br>
folderRefNum% = [[/folder|FOLDER]] (path$, refNum%)<br>
parentFolderVRef% = [[/folder|FOLDER]] (":",refNum%)<br>
[[/for|FOR]] indexVar = firstValue TO lastValue [ STEP stepValue ]<br>
::[ statementBlock ]<br>
::NEXT [ indexVar ]<br>
fractionValue# = [[/frac|FRAC]] (expr)<br>
[[/get_field|GET FIELD ]] ZTXThandle&, efID<br>
[[/get_preferences|GET PREFERENCES]] prefFileName$, prefRecord<br>
[[/get_window|GET WINDOW]] [#] wndID, windowPtrVar&<br>
[[/getprocessinfo|GETPROCESSINFO]] index%, processName$ [, PSN ]<br>
[[/globals|GLOBALS]] "filename1" [, "filename2" ...]<br>
[[/gosub|GOSUB]] { lineNumber | "statementLabel" }<br>
[[/goto|GOTO]] { lineNumber | "statementLabel" }
[[/handleevents|HANDLEEVENTS]] <br>
[[/handshake|HANDSHAKE]] portID, handshakeType<br>
hexString$ = [[/hexstring|HEX$]] (expr)
[[/if|IF]] expr THEN { dest1 | statement1 [: statement2 ...]} [ ELSE { dest2 | statement3 [: statement4 ...]}] <br>
[[/inc|INC]] (intVar)<br>
::intVar ++
::numericVariable += IntegerValToAdd
[[/inc_long|INC]] {LONG|WORD|BYTE} (addr&) <br>
[[/include|INCLUDE]] { "<path>" | alisResID }<br>
stringVar$ = [[/index_function|INDEX$]] (element [, indexID ])<br>
[[/index_statement|INDEX$]] (element [, indexID ]) = stringExpr$<br>
[[/index_d|INDEX$ D]] (element [, indexID ])<br>
[[/index_i|INDEX$ I]] (element [, indexID ]) = stringExpr$<br>
foundElement = [[/indexf|INDEXF]] (string$ [, startElement [, indexID ] ])<br>
stringVar$ = [[/inkey_function|INKEY$]] <br>
stringVar$ = [[/inkey_iochannel|INKEY$]] (deviceID)<br>
[[/input|INPUT]] [@(col, row)| % (h, v)] [ "prompt" ;] var1 [, var2 ...]<br>
[[/input_pound|INPUT#]] deviceID, var1 [, var2 ...]<br>
foundPosition = [[/instr|INSTR]] (startPos, targetString$ | targetContainer$$, searchString$ | searchContainer$$)<br>
nearestInteger& = [[/int|INT]] (expr#)<br>
ignored = [[/invalrect|FN INVALRECT]] (rect)
[[/kill|KILL]] path$ [, refNum% [, dirID& ]]<br>
[[/kill_appleevent|KILL APPLEEVENT]] eventType&, eventClass&<br>
[[/kill_dynamic|KILL DYNAMIC]] arrayName<br>
[[/kill_field|KILL FIELD]] handle&<br>
[[/kill_picture|KILL PICTURE]] pictureHandle&<br>
[[/kill_preferences|KILL PREFERENCES]] prefFileName$<br>
[[/kill_resources|KILL RESOURCES]] "resType", resID%, [ "resType", resID% ...]
subString$ = [[/leftstring|LEFT$]] (string$, numChars)<br>
subContainer$$ = [[/leftstring|LEFT$$]] (container$$, numChars)<br>
stringLength = [[/len|LEN]] (string$ | container$$)<br>
[ [[/let|LET]] ] var = expr<br>
[ [[/let|LET]] ] var;length = address&<br>
[[/library|LIBRARY]] "LibraryName"<br>
LIBRARY<br>
lineAddress& = [[/line|LINE]] "label"<br>
[[/line_input|LINE INPUT]] [@(col, row)| % (h, v)] [ "prompt" ;] stringVar$<br>
[[/line_input_pound|LINE INPUT#]] deviceID, stringVar$<br>
result = [[/loc|LOC]] (deviceID)<br>
[ CLEAR ] [[/local|LOCAL]] [ MODE ]<br>
[ CLEAR ] [[/local_fn|LOCAL FN]] functionName [(arg1 [, arg2 ...])]<br>
::[statementBlock]<br>
::END FN [= expr ]<br>
[[/locate|LOCATE]] h,v<br>
numRecords = [[/lof|LOF]] (deviceID [, recordLength ])<br>
naturalLog# = [[/log|LOG]] (expr)<br>
commonLog# = [[/log10|LOG10]] (expr)<br>
base2Log# = [[/log2|LOG2]] (expr)<br>
[[/long_color|LONG COLOR]] bluePart, greenPart, redPart [, foregroundFlag ]<br>
[[/long_fn|LONG FN]] functionName [(arg1 [, arg2 ...])]<br>
::[statementBlock]<br>
::END FN [= expr ]<br>
[[/long_if|LONG IF]] expr<br>
::[statementBlock1]<br>
::[ XELSE<br>
::[statementBlock2] ]<br>
::END IF<br>
[[/lprint|LPRINT]] [@(col, row)|%(h, v)] [ itemList ]
[[/machlg|MACHLG]] { constant | variable }[,{ constant | variable }...] <span style="color:blue;">/* '''Not Supported in FBtoC''' */</span><br>
[[/maxwindow|MAXWINDOW]] h, v<br>
trueOrFalse = [[/maybe|MAYBE]] <br>
info& = [[/mem|MEM]] (expr)<br>
selectedMenu = [[/menu_function|MENU]] (_menuID)<br>
selectedItem = [[/menu_function|MENU]] (_itemID)<br>
[[/menu_statement|MENU]] menuID, itemID, state [, string$ ]<br>
[[/menu_statement|MENU]] <br>
[[/menu_resource|MENU]] resID%,{_resMenu| _resSubMenu }, state [, resType$ ]<br>
[[/menu_preferences|MENU PREFERENCES]] menuID, itemID<br>
subString$ = [[/MID_function|MID$]] (string$, startPos [, numChars ])<br>
subContainer$$ = [[/MID_function|MID$$]] (container$$, startPos [, numChars ])<br>
[[/MID_statement|MID$]] (stringVar$, startPos, numChars) = replaceString$<br>
[[/MID_statement|MID$$]] (container$$, startPos, numChars) = replaceString$ / contnr$$<br>
[[/minwindow|MINWINDOW]] h, v<br>
string$ = [[/mkistr|MKI$]] (intExpr)<br>
remainder = expr [[/mod|MOD]] modulus<br>
buttonStatus = [[/mouse|MOUSE]] (_down)<br>
clickType = [[/mouse_event|MOUSE]] (0)<br>
locationInfo = [[/mouse_event|MOUSE]] (locationType)<br>
horzPosition = [[/mouse_position|MOUSE]] (_horz)<br>
vertPosition = [[/mouse_position|MOUSE]] (_vert)
result& = exprA { [[/nand|NAND]] | ^&} exprB<br>
[[/for|NEXT]] - See [[/for|FOR]] statement<br>
result& = exprA { [[/nor|NOR]] | ^|} exprB<br>
value = [[/not|NOT]] expr
octalString$ = [[/octstring|OCT$]] (expr)<br>
byteOffset = [[/offsetof|OFFSETOF]] (fieldName IN { recordType | trueRecVar })<br>
byteOffset = [[/offsetof|OFFSETOF]] (const [ IN pseudoRecVar ])<br>
[[/on_appleevent|ON APPLEEVENT]] (eventtype&, eventClass&) { FN userFunction| GOSUB { lineNumber | "stmtLabel" }}<br>
[[/on_break|ON BREAK]] { FN userFunction| GOSUB { lineNumber | "stmtLabel" }}<br>
[[/on_dialog|ON DIALOG]] { FN userFunction| GOSUB { lineNumber | "stmtLabel" }}<br>
[[/on_edit|ON EDIT]] { FN userFunction| GOSUB { lineNumber | "stmtLabel" }}<br>
[[/on_error_fn|ON ERROR]] { FN userFunction| GOSUB { lineNumber | "stmtLabel" }}<br>
[[/on_error_end|ON ERROR END]] <br>
[[/on_error_return|ON ERROR RETURN]] <br>
[[/on_event|ON EVENT]] { FN userFunction| GOSUB { lineNumber | "stmtLabel" }}<br>
[[/on_finderinfo|ON FINDERINFO]] { FN userFunction| GOSUB { lineNumber | "stmtLabel" }}<br>
[[/on_expr_gosub|ON expr GOSUB]] { "label1" | lineNum1 }[,{ "label2" | lineNum2 }...]<br>
[[/on_expr_goto|ON expr GOTO]] { "label1" | lineNum1 }[,{ "label2" | lineNum2 }...]<br>
[[/on_lprint|ON LPRINT]] { FN userFunction| GOSUB { lineNumber | "stmtLabel" }}<br>
[[/on_menu|ON MENU]] { FN userFunction| GOSUB { lineNumber | "stmtLabel" }}<br>
[[/on_mouse|ON MOUSE]] { FN userFunction| GOSUB { lineNumber | "stmtLabel" }}<br>
[[/on_overflows|ON OVERFLOWS]] { FN userFunction| GOSUB { lineNumber | "stmtLabel" }}<br>
[[/on_stop|ON STOP]] { FN userFunction| GOSUB { lineNumber | "stmtLabel" }}<br>
[[/on_timer|ON TIMER]] (interval) { FN userFunction| GOSUB { lineNumber | "stmtLabel" }}<br>
[[/on_timer|TIMER END]] <br>
[[/on_timer|TIMER OFF]]<br>
[[/open|OPEN]] "method[fork]", fileID, path$|@FSSpec [, [ recLen ] [, refNum% [, dirID& ] ] ]<br>
[[/open_c|OPEN "C"]], portID, baud [, [ parity ] [, [ stopbit ] [, [ wordLength ] [, buffer ] ] ] ]<br>
[[/open_unix|OPEN "UNIX"]], fileID, UNIXcommand$<br>
result& = exprA { [[/or|OR]] exprB<br>
[[/output|OUTPUT]] [ FILE ] "filePath"<br>
[[/override|OVERRIDE]] Local Fn fnName<br>
[[/override| OVERRIDE]] Runtime fnName<br>
[[/override| OVERRIDE]] EnterProc fnName<br>
[[/override| OVERRIDE]] _constantName = newValue
lineCount = [[/page_function|PAGE]] <br>
[[/page_statement|PAGE]] <br>
[[/page_lprint|PAGE LPRINT]] <br>
[[/parentid|PARENTID]] = directoryID& <span style="color:blue;">/* '''Not Supported in FBtoC''' */</span><br>
byteValue = [[/peek|PEEK]] [ [[/peek|BYTE]] ] (address&)<br>
shortIntValue% = [[/peek|PEEK WORD]] (address&)<br>
longValue& = [[/peek|PEEK LONG]] (address&)<br>
[[/pen|PEN]] [ penWidth ] [, [ penHeight ] [, [ visible ] [, [ mode ] [, pattern ] ] ] ]<br>
pictureHandle& = [[/picture_function|PICTURE]]<br>
[[/picture_statement|PICTURE]] [(h1, v1)] [-(h2, v2)] [, pictureHandle& ]<br>
[[/picture_field|PICTURE FIELD]] [#] pfID [, [ pict ] [, [ rect ] [, [ type ] [, just ] ] ] ]<br>
[[/picture_on|PICTURE ON]] [(h1, v1)] [-(h2, v2)]<br>
[[/picture_on|PICTURE OFF]] [, pictHandleVar &]<br>
[[/plot|PLOT]] h, v<br>
[[/plot|PLOT TO]] h, v<br>
[[/plot|PLOT]] h1, v1 TO h2, v2 [ TO h3, v3 ...]<br>
[[/poke|POKE]] [ BYTE ] address&, byteExpr<br>
[[/poke|POKE WORD]] address&, shortIntExpr<br>
[[/poke|POKE LONG]] address&, longIntExpr<br>
[[/pop|POP]] (var) <span style="color:blue;">/* '''Not Supported in FBtoC''' */</span><br>
[[/pop|POP]] { BYTE | WORD | LONG }(address&) <span style="color:blue;">/* '''Not Supported in FBtoC''' */</span><br>
numCharacters = [[/pos|POS]] (deviceType)<br>
userCancelled = [[/prcancel|PRCANCEL]] <br>
pRecH& = [[/prhandle|PRHANDLE]] <br
>
[[/print|PRINT]] [@(col, row)|%(h, v)] [ printItem [{,|;}[ printItem ]...] ]<br>
[[/print|PRINT]] [@(col, row)|%(h, v)] [POINT [{,|;}[POINT]...] ]<br>
[[/print_pound|PRINT#]] deviceID,[ printItem [{,|;}[ printItem ]...] ]<br>
procAddress& = [[/proc|PROC]] "label"<br>
string$ = [[/pstr_function|PSTR$]] (address&)<br>
[[/pstr_statement|PSTR$]] (addressVar&) = string$<br>
[[/push|PUSH]] (var) <span style="color:blue;">/* '''Not Supported in FBtoC''' */</span><br>
[[/push|PUSH]] { BYTE | WORD | LONG }(address&) <span style="color:blue;">/* '''Not Supported in FBtoC''' */</span><br>
[[/put_preferences|PUT PREFERENCES]] prefFilePath$, prefRecord
[[/random|RANDOM]] [ -IZE ] [ expr ]<br>
[[/ratio|RATIO]] h, v<br>
[[/read|READ]] { var | PSTR$ (addressVar&)}[,{ var | PSTR$ (addressVar&)}...]<br>
[[/read_pound|READ #]] deviceID,{ recVar | numVar | strVar$ ; len } [,{ recVar | numVar | strVar$ ; len }...]<br>
[[/read_dynamic|READ DYNAMIC]] deviceID,arrayName<br>
[[/read_field|READ FIELD]] [#] deviceID,handleVar<br>
[[/read_file|READ FILE]] [#] deviceID,address&,numBytes&<br>
currentRecord = [[/rec|REC]] (fileID)<br>
[[/record|RECORD]] [#] fileID, recordNum [, positionInRecord ]<br>
currentA5& = [[/register|REGISTER(A5)]] <span style="color:blue;">/* '''Not Supported in FBtoC''' */</span><br>
[[/register_on|REGISTER ON]] <span style="color:blue;">/* '''Not Supported in FBtoC''' */</span><br>
[[/register_on|REGISTER OFF]] <span style="color:blue;">/* '''Not Supported in FBtoC''' */</span><br>
[statement] [[/rem|REM]] [remarks]<br>
[statement] ' [remarks]<br>
[statement] // [remarks]<br>
[statement] /* [blockRemarks]*/ [statement]<br>
[[/rename|RENAME]] oldPath$ { TO |,} newFileNameOnly$ [, refNum% [, dirID& ]]<br>
[[/reset|RESET]] <br>
[[/resources|RESOURCES]] "[ pathname ]" [," ttttcccc "]<br>
[[/restore|RESTORE]] [ expr ]<br>
[[/return|RETURN]] [ "label" ]<br>
subString$ = [[/rightstring|RIGHT$]] (string$,numChars)<br>
subContainer$$ = [[/rightstring|RIGHT$$]] (container$$,numChars)<br>
randomInteger% = [[/rnd|RND]] (expr%)<br>
重新路由文本和图形
[[/route|ROUTE]] [#]_toPrinter <br>
[[/route|ROUTE]] [#]_toScreen <br>
[[/route|ROUTE]] [#]_toBuffer [+ 0... 4 ]
重新路由文本
[[/route|ROUTE]] [#] serialPort<br>
[[/route|ROUTE]] [#] fileID<br>
[[/run|RUN]] path$ [, refNum% [, dirID& ]]<br>
[[/runtime|RUNTIME]] routineName [(arg1 [, arg2 ...]) ]<br>
[[/runtime|END RUNTIME]]
[[/scroll|SCROLL]] (h1, v1)-(h2, v2), hPixels%, vPixels%<br>
[[/scroll_button|SCROLL BUTTON]] [#] idExpr [, [ current ] [, [ min ] [, [ max ] [, [ page ] [, [ rect ] [, type ] ] ] ] ] ]<br>
[[/segment|SEGMENT]] [ minSegmentSize ] <span style="color:blue; font-weight:bold;">/* Ignored in PPC */</span><br>
[[/segment_return|SEGMENT RETURN]] <span style="color:blue;font-weight:bold;">/* Ignored in PPC */</span> <br>
[[/select_case|SELECT]] [ CASE ] targetExpr<br>
::CASE testExpr [, testExpr ...] [, max32TestExpr ...]<br>
:::[statementBlock]<br>
::[ CASE testExpr [, testExpr ...] [,max32TestExpr ...]<br>
:::[statementBlock]...]<br>
::[ CASE ELSE<br>
:::[statementBlock] ]<br>
::END SELECT
[[/select_case|SELECT]] [ CASE ]<br>
::CASE booleanExpr [, booleanExpr ...] [, max32T booleanExpr ...]<br>
:::[statementBlock]<br>
::[ CASE booleanExpr [, booleanExpr ...] [, max32T booleanExpr ...]<br>
:::[statementBlock]...]<br>
::[ CASE ELSE<br>
:::[statementBlock]]<br>
::END SELECT
[[/sendappleevent|SENDAPPLEEVENT]] eventtype&, eventClass&, dataAddress& dataSize&, processName$<br>
[[/setselect|SETSELECT]] startSelect%, endSelect%<br>
[[/setzoom|SETZOOM]] [#] windowID [,(h1, v1)-(h2, v2)]<br>
[[/setzoom|SETZOOM]] [#] windowID, @ rect<br>
signOfExpr = [[/sgn|SGN]] (expr)<br>
[[/shutdown|SHUTDOWN]] [ msg$ ]<br>
theSine# = [[/sin|SIN]] (expr)<br>
result# = [[/sinh|SINH]] (expr)<br>
dataSize = [[/sizeof|SIZEOF]] ({ var | typeName | ptrType ^| hdlType ^^})<br>
[[/sound_end|SOUND END]] <br>
[[/sound_frequency|SOUND]] pitch, duration [, [ volume ] [, async ]]<br>
[[/sound_snd|SOUND]] soundIDstring$<br>
[[/sound_snd|SOUND]] %resIDNumber<br>
[[/sound_snd|SOUND]] &soundHandle&<br>
soundIsPlaying = [[/soundperc|SOUND%]] <br>
stringOfSpaces$ = [[/spacestring|SPACE$]] (numChars)<br>
[[/spc|SPC]] (numChars)<br>
squareRoot# = [[/sqr|SQR]] (expr)<br>
[[/stop|STOP]] [ string$ ]<br>
stringFromList$ = [[/str_pound|STR#]] (resourceID%, index%)<br>
numberString$ = [[/strstring|STR$]] (numericExpr)<br>
stringFromHandle$ = [[/str_amp|STR&]] (handle&, index%)<br>
stringOfChars$ = [[/stringstr|STRING$]] (numChars,{ char$ | asciiValue% })<br>
container$$ = [[/stringstr|STRING$$]] (numChars,{ char$ | asciiValue% })<br>
[[/stringlist|STRINGLIST ON]] <span style="color:blue;"> /* '''Not Supported in FBtoC any form''' */</span><br>
[[/stringlist|STRINGLIST OFF]] <br>
[[/stringlist|STRINGLIST]] <br>
[[/stringlist|STRINGLIST]] = resID [, ResourceName$ ]<br>
[[/stringlist|STRINGLIST OPT]] <br>
[[/stringlist|STRINGLIST NOPT]] <br>
[[/stringlist|STRINGLIST END]] <br>
[[/swap|SWAP]] variable1, variable2<br>
systemErrorCode% = [[/syserror_function|SYSERROR]] <br>
[[/syserror_statement|SYSERROR]] = OSErrorCode%<br>
systemInformation = [[/system_function|SYSTEM]] (whichInfo)<br>
[[/system_statement|SYSTEM]]
theTangent# = [[/tan|TAN]] (expr)<br>
result# = [[/tanh|TANH]] (expr)<br>
[[/tbalias|TBALIAS]] oldName, NewName <span style="color:blue;">/* '''Not Supported in FBtoC''' */</span><br>
editFieldHandle& = [[/tehandle|TEHANDLE]] (fieldID) <span style="color:blue;">/* '''Not Supported in FBtoC''' */</span><br>
fieldInfo = [[/tehandle|TEHANDLE]] (- fieldID)<br>
char$ = [[/tekey_function|TEKEY$]] <br>
[[/tekey_statement|TEKEY$]] = string$<br>
[[/text|TEXT]] [ font% ] [, [ size% ] [, [ face% ] [, copyMode% ] ] ]<br>
[[/threadbegin|THREADBEGIN]] FN name [, parameter& [, stackMin&] ]<br>
abortBoolean = [[/threadstatus|THREADSTATUS]] [ (ticks&) ]<br>
currentTime$ = [[/timestring|TIME$]] <br>
secondsSinceMidnight& = [[/timer_function|TIMER]]<br>
[[/timer_statement|TIMER]] = interval<br>
[[/timer_statement|TIMER]] (0) OFF <br>
[[/timer_statement|TIMER]] (0) END <br>
[[/toolbox|TOOLBOX]] [ FN ] functionName [(arg1 [, arg2 ...]) ] [= returnParam ] [` 0x0000, 0x0000 ...]<br>
[[/tron|TRON]] [ [[/tron|ALL]] ] <br>
[[/tron|TRON BREAK]] <br>
[[/tron|TROFF]] <br>
[[/tron_x|TRON X]] <br>
dataType = [[/typeof|TYPEOF]] ({ variable | typeName })
theTangent# = [[/tan|TAN]] (expr)<br>
upperCaseString$ = [[/ucase|UCASE$]] (string$)<br>
upperCaseContainer$$ = [[/ucase|UCASE$$]] (container$$)<br>
returnVar = [[/universalfn|UNIVERSALFN]] (procPtr&, flags [, parm1 [, parm2 ...] ]) <span style="color:blue;">/* '''Not Supported in FBtoC''' */</span><br>
[[/universalproc|UNIVERSALPROC]] (procPtr&, flags [, parm1 [, parm2 ...] ]) <span style="color:blue;">/* '''Not Supported in FBtoC''' */</span><br>
[[/unloadsegment|UNLOADSEGMENT]] "statementLabel " <span style="color:blue;">/* '''Not Supported in FBtoC''' */</span><br>
digitString$ = [[/unsstring|UNS$]] (expr)<br>
[[/until|UNTIL]]<br>
string$ = [[/using|USING]] format$ ; expr<br>
returnValue& = [[/usr|USR]] fnIndicator (expr)<br>
absValue& = [[/usr_abs|USR ABS]] (expr)<br>
dataHandle& = [[/usr_applescriptgetresult|USR APPLESCRIPTGETRESULT]] <br>
errorFlag = [[/usr_applescriptloadandrun|USR APPLESCRIPTLOADANDRUN]] (fSpec, resID%)<br>
errorFlag = [[/usr_applescriptrun|USR APPLESCRIPTRUN]] (errorMessage$)<br>
errFlag = [[/usr_applescriptstore|USR APPLESCRIPTSTORE]] (fSpec, resID%, scriptName$)<br>
err = [[/usr_convertimagefile|USR CONVERTIMAGEFILE]] (srcName$,srcRef%, destName$,destRef%, newTypeIn&, newCreator &)<br>
err = [[/usr_copyfile|USR COPYFILE]] (SrcName$, SrcVol%, SrcDir&, DestName$, DstVol%, DstDir&)<br>
elementSize& = [[/usr_dynamicitemsize|USR DYNAMICITEMSIZE]] (whichIndex)<br>
evenNumber& = [[/usr_even|USR EVEN]] (expr)<br>
boolean = [[/usr_fileexists|USR FILEEXISTS]] (fileName$, vRefNum%, dirID&)<br>
fontHeight = [[/usr_fontheight|USR FONTHEIGHT]] <br>
boolean = [[/usr_fsfileexists|USR FSFILEEXISTS]] (fsSpec)<br>
error = [[/usr_fssendfiletotrash|USR FSSENDFILETOTRASH]] (FSSpec)<br>
resultCode = [[/usr_fsgetfoldername|USR FSGETFOLDERNAME]] (fsSpec,folderName$)<br>
resultCode = [[/usr_fsgetfullpathname|USR FSGETFULLPATHNAME]] (fsSpec,pathName$)<br>
boolean = [[/usr_getdoublebyte|USR GETDOUBLEBYTE]] <span style="color:blue;">/* '''Not Supported in FBtoC''' */</span><br>
resultCode = [[/usr_getfoldername|Usr FSGETFOLDERNAME]] (fsSpec, folderName$)<br>
resultCode = [[/usr_getfullpathname|USR GETFULLPATHNAME]] (vRef%,dirID&,pathName$)<br>
boolean = [[/usr_getsinglebyte|USR GETSINGLEBYTE]] <span style="color:blue;">/* '''Not Supported in FBtoC''' */</span><br>
pictHandle& = [[/usr_getpict|USR GETPICT]] ({ rect | #rectAddr& })<br>
buttonID% = [[/usr_handle2btn|USR HANDLE2BTN]] (ctrlRecHandle&)<br>
pictHandle& = [[/usr_imagefiletopict|USR IMAGEFILETOPICT]] (fileName$, vRef%)<br>
err = [[/usr_movefile|USR MOVEFILE]] (SrcName$,SrcVol%,SrcDir&,DstVol%,DstDir&)<br>
resRef = [[/usr_openrfperm|USR OPENRFPERM]] (fileName$,vRef%,permission) <span style="color:blue;">/* '''Not Supported in FBtoC''' */</span><br>
rHndl& = [[/usr_replaceresource|USR REPLACERESOURCE]] (rHndl&, rTp&, rID%,rName$, rRef%)<br>
wholeNumber = [[/usr_round|USR ROUND]] (numericExpression)<br>
wholeNumber = [[/usr_round|USR ROUNDUP]] (numericExpression)<br>
wholeNumber = [[/usr_round|USR ROUNDDOWN]] (numericExpression)<br>
err% = [[/usr_saveimagefileaspict|USR SAVEIMAGEFILEASPICT]] (srcName$, srcVol%, destName$,destVol%)<br>
resultCode = [[/usr_scanfolder|USR SCANFOLDER]] (FileScanRecord)<br>
error = [[/usr_sendfiletotrash|USR SENDFILETOTRASH]] (fileName$, vRefNum %) <span style="color:blue;">/* '''Not Supported in FBtoC''' */</span><br>
offset& = [[/usr_stroffset|USR STROFFSET]] (element%, resID% | handle&)<br>
WindowID% = [[/usr_wptr2wnum|USR WPTR2WNUM]] (WindowPtr&)
numericValue = [[/val|VAL]] (string$)<br>
integerValue& = [[/val_amp|VAL&]] (string$)<br>
ignored = [[/validrect|FN VALIDRECT]] (rect)<br>
address& = [[/varptr|VARPTR]] ({ var | FN userFunction})<br>
address& = @ var
[[/width|WIDTH]] [ LPRINT ] [=]{_noTextWrap|_textWrap| numChars }<br>
WindowInformation = [[/window_function|WINDOW]](expr)<br>
[[/window_statement|WINDOW]] [#] idExpr [, [ title$ ] [, [ rect ] [, [ type ] [, class ] ] ] ]<br>
[[/window_close|WINDOW CLOSE]] [#] windowID <br>
[[/window_fill|WINDOW FILL]] [[#] expr ]<br>
[[/window_output|WINDOW OUTPUT]] [#] idExpr <br>
[[/window_picture|WINDOW PICTURE]] [#] windowID,pictHandle&<br>
ptr& = [[/wndblk|WNDBLK]] <span style="color:blue;">/* '''Not Supported in FBtoC''' */</span><br>
[[/write_pound|WRITE]] [#] deviceID,{ var | strngVar$ ; len } [,{ var | strngVar$ ; len }...]<br>
[[/write_dynamic|WRITE DYNAMIC]] deviceID, arrayName <br>
[[/write_field|WRITE FIELD]] [#] deviceID, handle& <br>
[[/write_file|WRITE FILE]] [#] deviceID, address&, numBytes&
XELSE - See the [[/long_if|LONG IF]] statement<br>
result& = exprA {[[/xor|XOR]] | ^^} exprB<br>
[[/xref|XREF]] arrayName (maxSub1 [, maxSub2 ...]) [ AS dataType ]<br>
[[/xrefat|XREF@]] arrayName (maxSub1 [, maxSub2 ...]) [ AS dataType]
前往此处: <https://wikibooks.cn/wiki/Futurebasic/language/reference> 欣赏这个需要处理的长长的关键字列表。
使用模板页面 (链接就在上面)。
编辑条目
1 - 点击名为“模板”的链接 (在关键字列表上方)。
2 - 一个新页面将在你的浏览器中显示,展示一个条目的布局。点击屏幕右侧最上面的链接 (可能是英文的“[编辑]”。
3 - 浏览器会打开一个显示表单的新页面。主要字段包含用来创建模板的代码,看起来像下面这样:
= <span style="color:red">布局模板 (删除这一行)</span> =
== 关键字在此处 ==
=== 语句、函数、操作符或其他? (更新下面的复选标记) ===
✔ χ 外观 ✔ χ 标准 ✔ χ 控制台
=== 语法 ===
<pre>
代码语法在此处,并进行预格式化 (纯文本)
</pre>
=== 修订 ===
日期和版本 (如果无日期,则删除“修订”部分)
=== 描述 ===
描述在此处。
=== 示例 ===
<pre>
示例代码在此处 (如果无示例代码,则删除“示例”部分)
</pre>
=== 注释 ===
特殊注释 (如果无注释,则保留此部分)
=== 参见 ===
<syntaxhighlight>交叉引用</syntaxhighlight>
[[Futurebasic/language/reference|语言参考]]
4 - 复制所有文本 (你可以在文本编辑器窗口中粘贴它,以便在稍后方便使用)。
5. - 如果你还没这样做,把啤酒放进冰箱
6 - 现在找到列表中条目为空的关键字,粘贴模板代码并点击“保存”按钮。
如果你不熟悉 HTML,可以把条目的更新工作留给其他人,然后对另一个条目为空的关键字重复此过程 (即 GOTO #6)。
如果你想继续
7 - 在新浏览器窗口或文本编辑器中打开 FB 帮助页面。如果使用浏览器,则需要显示 HTML 源代码。
现在,根据您对 HTML 和 wiki 特性的熟悉程度,您可以执行以下操作
8a - 再次编辑关键字条目,用 FB 帮助页面的相应 HTML 代码更新每个部分。
9a - 保存更改并让其他人来清理混乱。
或者
8b - 在文本编辑器中清理 HTML 代码。有时,需要删除一些标签,甚至需要更有效地使用它们,我猜。保留与缺少的图像资源相关的链接,这可能有助于以后找出哪些条目需要插图。也许克里斯托弗可以告诉我们如何管理图像文件。
参考手册中的 FB 代码片段需要认真清理,因为它们被插入到 <pre></pre> 标签中,因此它们不能嵌入任何其他 HTML 代码。还有其他值得注意的事情(可能在另一篇文章中),但我认为经验法则是尽可能减少 HTML 代码。
9b - 用相应的干净 HTML 代码更新关键字条目的每个部分。
10 - 重复上述操作(即 GOTO #6),不过要进行变体:尝试找到模板尚未更新的关键字条目。
11 - 完成后,以真正的 Staz 风格(用啤酒)庆祝(可选)。