コンテンツにスキップ

Index

命令・式中関数の一覧

PRINT 系

関数名 引数 戻り値
PRINT(|V|S|FORM|FORMS)(|K|D)(|L|W) string なし
PRINTSINGLE(|V|S|FORM|FORMS)(|K|D) string なし
PRINT(|FORM)(C|LC)(|K|D) string なし
PRINTDATA(|K|D)(|L|W) なし なし
PRINTBUTTON(|C|LC) string, any なし
PRINTPLAIN(|FORM) string なし
DRAWLINE なし なし
CUSTOMDRAWLINE string なし
DRAWLINEFORM formedString なし
GETLINESTR string string
REUSELASTLINE string なし
CLEARLINE int なし
PRINT_ABL int なし
PRINT_TALENT int なし
PRINT_MARK int なし
PRINT_EXP int なし
PRINT_PALAM int なし
PRINT_ITEM なし なし
PRINT_SHOPITEM なし なし
PRINT_IMG string なし
string, int, int, int なし
string, string, int, int, int なし
string, string, 2DIntegerVariable, int, int, int なし
PRINT_RECT int なし
int, int, int, int なし
PRINT_SPACE int なし

表示操作・フォント操作・表示仕様参照

関数名 引数 戻り値
BAR int, int, int なし
BARL int, int, int なし
SETCOLOR int, int, int なし
int なし
RESETCOLOR なし なし
SETBGCOLOR int, int, int なし
int なし
RESETBGCOLOR なし なし
SETCOLORBYNAME colorName なし
SETBGCOLORBYNAME colorName なし
GETCOLOR なし int
GETBGCOLOR なし int
GETDEFCOLOR なし int
GETDEFBGCOLOR なし int
GETFOCUSCOLOR なし int
FONTBOLD なし なし
FONTITALIC なし なし
FONTSTYLE int なし
FONTREGULAR なし なし
GETSTYLE なし int
CHKFONT string int
SETFONT string なし
GETFONT なし string
FORCEKANA int なし
ALIGNMENT keyword なし
CURRENTALIGN なし string
REDRAW int なし
CURRENTREDRAW なし int
PRINTCPERLINE なし int
PRINTCLENGTH なし int
LINEISEMPTY なし int
BARSTR int, int, int string
MONEYSTR int, option string
SKIPDISP int なし
NOSKIP なし なし
ENDNOSKIP なし なし
ISSKIP なし int
MOUSESKIP なし int
MESSKIP なし int
COLOR_FROMNAME string int
COLOR_FROMRGB int, int, int string
SKIPLOG int void
GETDISPLAYLINE int string

文字列操作・参照

関数名 引数 戻り値
TOUPPER string string
TOLOWER string string
TOHALF string string
TOFULL string string
TOSTR int, option string
TOINT string int
ISNUMERIC string int
STRLEN string int
STRLENS string int
STRLENFORM string int
STRLENU string int
STRLENSU string int
STRLENFORMU string int
SUBSTRING string, int, int string
SUBSTRINGU string, int, int string
CHARATU string, int string
STRFIND string, string(, int) int
STRFINDU string, string(, int) int
STRCOUNT string, string int
SPLIT string, string, stringArray int
STRJOIN stringArray(, string, int, int) string
REPLACE string, string, string string
ESCAPE string string
UNICODE int string
ENCODETOUNI string int
STRFORM string string
REGEXPMATCH string, string(, int) int
string, string, ref int, ref string[] int

算術

関数名 引数 戻り値
TIMES int, float なし
POWER integerVariable, int, int int
int, int int
ABS int int
SIGN int int
SQRT int int
CBRT int int
LOG int int
LOG10 int int
EXPOMENT int int
GETBIT int, int int
SETBIT integerVariable, int(, int...) なし
CLEARBIT integarVariable, int(, int...) なし
INVERTBIT integarVariable, int(, int...) なし
MAX int(, int...) int
MIN int(, int...) int
LIMIT int, int, int int
INRANGE int, int, int int
SUMARRAY integerArray(, int, int) int
MATCH array, any, int, int int
MAXARRAY integerArray, int, int int
MINARRAY integerArray, int, int int
SUMCARRAY charaArray(, int, int) int
CMATCH charaArray, any(, int, int) int
MAXCARRAY charaArray(, int, int) int
MINCARRAY charaArray(, int, int) int
INRANGEARRAY integerArray, int, int(, int, int) int
INRANGECARRAY charaArray, int, int(, int, int) int
GROUPMATCH any, any... int
NOSAMES any, any... int
ALLSAMES any, any... int
CONVERT int, int string

キャラ操作・参照

関数名 引数 戻り値
ADDCHARA int(, int,...) なし
DELCHARA int(, int,...) なし
SWAPCHARA int, int なし
SORTCHARA charaVariable, keyword なし
GETCHARA int int
ADDDEFCHARA なし なし
ADDVOIDCHARA なし なし
DELALLCHARA なし なし
PICKUPCHARA int(, int...) なし
EXISTCSV int int
FINDCHARA charaVariable, int(, int, int) int
FINDLASTCHARA charaVariable, int(, int, int) int
COPYCHARA int, int なし
ADDCOPYCHARA int なし

変数操作・変数参照・CSV 参照

関数名 引数 戻り値
UPCHECK なし なし
VARSIZE variable int
VARSIZE() variable(, dimension) int
RESETDATA なし なし
RESETGLOBAL なし なし
RESET_STAIN int なし
SWAP variable, variable なし
CSVNAME int string
CSVCALLNAME int string
CSVNICKNAME int string
CSVMASTERNAME int string
CSVBASE int, int int
CSVCSTR int, int string
CSVABL int, int int
CSVTALENT int, int int
CSVMARK int, int int
CSVEXP int, int int
CSVRELATION int, int int
CSVJUEL int, int int
CSVEQUIP int, int int
CFLAG int, int int
GETNUM variable, string int
GETPALAMLV int, int int
GETEXPLV int, int int
FINDELEMENT variable, value(, int, int, int) int
FINDLASTELEMENT variable, value(, int, int, int) int
VARSET variable(, value, int, int) なし
CVARSET charaVariable(, int, int, int, int) なし
ARRAYSHIFT variable, int, value(, int, int) なし
ARRAYREMOVE variable, int, int なし
ARRAYSORT variable(, sortFormat, int, int) なし
ARRAYCOPY varible, variable なし
ARRAYMSORT variable(, variable...) なし
CUPCHECK int なし
ISDEFINED string int
EXISTVAR string int
ENUMFUNCBEGINSWITH string int
ENUMFUNCENDSWITH string int
ENUMFUNCWITH string int
ENUMVARBEGINSWITH string int
ENUMVARENDSWITH string int
ENUMVARWITH string int
ENUMMACROBEGINSWITH string int
ENUMMACROENDSWITH string int
ENUMMACROWITH string int
GETVAR string int
GETVARS string string
SETVAR string, any 1
VARSETEX string, any(, int, int, int) 1
ARRAYMSORTEX string, ref string[](, int, int) 1
ref int, ref string[](, int, int) 1
ERDNAME variable, int(, int) string

セーブデータ操作

関数名 引数 戻り値
PUTFORM string なし
SAVEDATA int, string なし
LOADDATA int なし
DELDATA int なし
CHKDATA int int
SAVENOS int int
SAVEGLOBAL なし なし
LOADGLOBAL なし int
OUTPUTLOG (string) なし
SAVECHARA string, string, int(, int...) なし
LOADCHARA string int
CHKCHARADATA string int
FIND_CHARADATA string int
SAVETEXT string, int(, int, int) int
LOADTEXT int(, int, int) string

日付・時刻取得

関数名 引数 戻り値
GETTIME なし int, string
GETTIME() なし int
GETTIMES() なし string
GETMILLISECOND なし int
GETSECOND なし int

入力・ウェイト

関数名 引数 戻り値
INPUT (int, int, int) void
INPUTS (int, int, int) void
WAIT なし void
FORCEWAIT なし なし
TINPUT int, int(, int, string, int) int
TINPUTS int, int(, int, string, int) string
TWAIT int, int なし
ONEINPUT int(, int) int
ONEINPUTS string(, int) string
TONEINPUT int, int(, int, string, int) int
TONEINPUTS int, string(, int, string, int) string
WAITANYKEY なし なし
INPUTMOUSEKEY int int
INPUTANY なし int / string
BINPUT (int, int, int) int
BINPUTS (string, int, int) string

ループ・分岐構文

関数名 引数 戻り値
(S)IF-ELSEIF-ELSE-ENDIF operand なし
REPEAT int なし
REND なし なし
CONTINUE なし なし
BREAK なし なし
FOR integerVariable, int, int(, int) なし
NEXT なし なし
WHILE int なし
WEND なし なし
DO なし なし
LOOP int なし
SELECTCASE any なし
CASE any なし
CASEELSE なし なし
ENDSELECT なし なし

乱数制御

関数名 引数 戻り値
RANDOMIZE int なし
DUMPRAND なし なし
INITRAND なし なし

デバッグ補助・システムフロー制御

関数名 引数
SAVEGAME なし
LOADGAME なし
BEGIN idenetifier
QUIT なし
CALLTRAIN int
DOTRAIN int
THROW string
QUIT_AND_RESTART なし
FORCE_QUIT なし
FORCE_QUIT_AND_RESTART なし
FORCE_BEGIN identifier
FLOWINPUT int(, int, int)

関数系(CALL 等)

関数名 引数 戻り値
CALL functionName なし
JUMP functionName なし
GOTO labelName なし
RESTART なし なし
TRYCALL functionName(, any...) なし
TRYJUMP functionName(, any...) なし
TRYGOTO labelName なし
CALLFORM functionName(, any...) なし
JUMPFORM functionName(, any...) なし
GOTOFORM labelName なし
TRYCALLFORM formedString(, any...) なし
TRYJUMPFORM formedString(, any...) なし
TRYGOTOFORM formedString なし
CALLF functionName なし
CALLFORMF formedString なし
CALLEVENT functionName なし
TRYCCALL functionName(, any...) なし
TRYCJUMP functionName(, any...) なし
TRYGOTO labelName なし
TRYCCALLFORM functionName(, any...) なし
TRYCCALLFORM functionName(, any...) なし
TRYCGOTOFORM labelName なし
CATCH なし なし
ENDCATCH なし なし
TRYCALLLIST なし なし
TRYJUMPLIST なし なし
TRYGOTOLIST なし なし
FUNC functionName(, any...) なし
ENDFUNC なし なし
EXISTFUNCTION string int
TRYCALLF functionName なし
TRYCALLFORMF formedString なし

RETURN 系

関数名 引数 戻り値
RETURN int(, int,...) 引数に同じ
RETURNFORM strng(, string,...) 引数に同じ(数値型に変換)
RETURNF any 引数に同じ

DEBUG 系

関数名 引数 戻り値
DEBUGPRINT string なし
DEBUGPRINTL string なし
DEBUGPRINTFORM formedString なし
DEBUGPRINTFORML formedString なし
DEBUGCLEAR なし なし
ASSERT int なし

ツールチップ系

関数名 引数
TOOLTIP_SETCOLOR int, int
TOOLTIP_SETDELAY int
TOOLTIP_SETDURATION int
TOOLTIP_CUSTOM int
TOOLTIP_SETFONT string
TOOLTIP_SETFONTSIZE int
TOOLTIP_FORMAT int

HTML 系

関数名 引数 戻り値
HTML_PRINT string なし
HTML_TAGSPLIT string(, integerVariable, stringVariable) int, string
HTML_POPPRINTINGSTR なし string
HTML_GETPRINTEDSTR int string
HTML_ESCAPE string string
HTML_TOPLAINTEXT string string
HTML_STRINGLEN string(, int) int
HTML_SUBSTRING string, int string
HTML_STRINGLINES string, int string

AWAIT 関連

関数名 引数 戻り値
AWAIT int なし
GETKEY keyCode int
GETKEYTRIGGERED keyCode int
MOUSEX なし int
MOUSEY なし int
ISACTIVE なし int
MOUSEB なし string

画像処理関連

画像処理関連命令について 画像処理関係の命令です。 `G`で始まる`Graphics`系命令は、変更可能な描画領域を操作するための命令です。 `G`系命令を使用するには描画方式に`GRAPHICS`または`TEXTRENDERER`を指定する必要があります。 描画方式に`WINAPI`が指定されている場合、G 系の命令は使用できずエラーになります。 `SPRITE`で始まる`Sprite`系命令は、スプライトに関する命令です。 スプライトは`resources`フォルダで宣言したリソースと同様に[`PRINT_IMG`](./PRINT_IMG.md)命令などで行中に表示することもできます。 `CBG`で始まる`ClientBackground`系命令は、クライアント領域の背景画像に関連した命令です。 画像処理系の命令での色指定は RGB ではなくアルファ値(不透明度)を含む`ARGB`形式であることに注意して下さい。 `ARGB`型は 16 進数で`0xAARRGGBB`で表されます。 画像処理系の命令の大半は式中で関数として呼び出すこともできます。 関数として呼び出した場合には、結果の値は`RESULT`には代入されずに戻り値となります。
関数名 引数 戻り値
GCREATE int, int, int int
GCREATEFROMFILE int, string int
GDISPOSE int int
GCLEAR int, int int
GFILLRECTANGLE int, int, int, int, int int
GDRAWG int, int, int, int, int, int, int, int, int, int int
int, int, int, int, int, int, int, int, int, int, integerVariable int
GDRAWGWITHMASK int, int, int, int, int int
GDRAWSPRITE int, string int
int, string, int, int int
int, string, int, int, int, int int
int, string, int, int, int, int, integerVariable int
GSETCOLOR int, int, int, int int
GSETBRUSH int, int int
GSETFONT int, string, string(, int) int
GSETPEN int, int, int int
GCREATED int int
GWIDTH int int
GHEIGHT int int
GGETCOLOR int, int, int int
GSAVE int, int int
GLOAD int, int int
SPRITECREATE string, int int
string, int, int, int, int, int int
SPRITEANIMECREATE string, int, int int
SPRITEANIMEADDFRAME string, int, int, int, int, int, int, int, int int
SPRITEDISPOSE string int
SPRITEGETCOLOR string, int, int int
SPRITECREATED string int
SPRITEWIDTH string int
SPRITEHEIGHT string int
SPRITEWIDTH string int
SPRITEHEIGHT string int
SPRITEPOSX string int
SPRITEPOSY string int
SPRITESETPOS string, int, int int
SPRITEMOVE string, int, int int
CBGSETG int, int, int, int int
CBGSETSPRITE string, int, int, int int
CBGSETBMAPG int int
CBGSETBUTTONSPRITE int, string, string, int, int, zDepth int
int, string, string, int, int, zDepth, string int
CBGCLEAR なし int
CBGREMOVEMAPB なし int
CBGCLEARBUTTON なし int
CBGREMOVERANGE int, int int
SETANIMETIMER int なし
GDRAWTEXT int, string(, int, int) int
GGETFONT int string
GGETFONTSIZE int int
GGETFONTSTYLE int int
GGETTEXTSIZE string, string, int(, int) int
GDRAWGWITHROTATE int, int, int(, int, int) int
GGETPEN int int
GGETPENWIDTH int int
GGETBRUSH int int
SPRITEDISPOSEALL int int
GDRAWLINE int, int, int, int, int int
GDASHSTYLE int, int, int int

サウンド系

関数名 引数 戻り値
PLAYSOUND string なし
STOPSOUND なし なし
PLAYBGM string なし
STOPBGM なし なし
EXISTSOUND string int
SETSOUNDVOLUME int なし
SETBGMVOLUME int なし

XML 系

関数名 引数 戻り値
XML_DOCUMENT any, string int
XML_RELEASE any 1
XML_EXIST any int
XML_GET any, string(, int, int) int
any, string, ref string[](, int) int
XML_GET_BYNAME string, string(, int, int) int
string, string, ref string[](, int) int
XML_SET int, string, string(, int, int) int
ref string, string, string(, int, int) int
XML_SET_BYNAME string, string, string(, int, int) int
XML_TOSTR any string
XML_ADDNODE int, string, string(, int, int) int
ref string, string, string(, int, int) int
XML_ADDNODE_BYNAME string, string, string(, int, int) int
XML_REMOVENODE int, string(, int) int
ref string, string(, int) int
XML_REMOVENODE_BYNAME string, string(, int) int
XML_REPLACE int, string int
int, string, string(, int) int
ref string, string, string(, int) int
XML_REPLACE_BYNAME string, string, string(, int) int
XML_ADDATTRIBUTE int, string, string(, string, int, int) int
ref string, string, string(, string, int, int) int
XML_ADDATTRIBUTE_BYNAME string, string, string(, string, int, int) int
XML_REMOVEATTRIBUTE int, string(, int) int
ref string, string(, int) int
XML_REMOVEATTRIBUTE_BYNAME string, string(, int) int

MAP(連想配列)系

関数名 引数 戻り値
MAP_CREATE string int
MAP_EXIST string int
MAP_RELEASE string 1
MAP_GET string, string string
MAP_HAS string, string int
MAP_SET string, string, string int
MAP_REMOVE string, string int
MAP_SIZE string int
MAP_CLEAR string int
MAP_GETKEYS string string
string, int string
string, ref string[], int string
MAP_TOXML string string
MAP_FROMXML string, string int

DataTable(データベース)系

関数名 引数 戻り値
DT_CREATE string int
DT_EXIST string int
DT_RELEASE string 1
DT_CLEAR string int
DT_NOCASE string, int int
DT_COLUMN_ADD string, string(, any, int) int
DT_COLUMN_EXIST string, string int
DT_COLUMN_REMOVE string, string int
DT_COLUMN_LENGTH string int
DT_COLUMN_OPTIONS string, string, keyword, any([,keyword, any] ...) なし
DT_COLUMN_NAMES string(, ref string[]) int
DT_ROW_ADD string([, string, any] ...) int
string, ref string[], ref any[], int int
DT_ROW_SET string, int, string, any([, string, any] ...) int
string, int, ref string[], ref any[], int int
DT_ROW_REMOVE string, int int
string, ref int[], int int
DT_ROW_LENGTH string int
DT_CELL_GET string, int, string(, int) int
DT_CELL_GETS string, int, string(, int) string
DT_CELL_ISNULL string, int, string(, int) int
DT_CELL_SET string, int, string(, any, int) int
DT_SELECT string(, string, string, ref int[]) int
DT_TOXML string(, ref string) string
DT_FROMXML string, string, string int

その他

関数名 引数 戻り値
RAND int(, int) int
CLEARTEXTBOX なし なし
STRDATA stringVariable なし
STOPCALLTRAIN なし なし
GETCONFIG string int
GETCONFIGS string string
CLIENTWIDTH なし int
CLIENTHEIGHT なし int
EXISTFILE string int
ENUMFILES string(, string, int) int
UPDATECHECK なし なし
GETMEMORYUSAGE なし int
CLEARMEMORY なし int
SETTEXTBOX string 1
GETTEXTBOX なし string
MOVETEXTBOX int, int, int 1
RESUMETEXTBOX なし 1