; TextPad syntax definitions for Tera Term ; Contributed by Alex Angelopoulos - email alexangelopoulos@hotmail.com ; Note - Tera Term is distributed freely from ; http://hp.vector.co.jp/authors/VA002416/teraterm.html ; as of 2001.06.25 ; Associate this syntax file with TTL files to use. C=1 [Syntax] Namespace1 = 6 IgnoreCase = Yes InitKeyWordChars = A-Za-z KeyWordChars = A-Za-z0-9 BracketChars = {[()]} OperatorChars = -+*/<>!~%^&|=?@ PreprocStart = SyntaxStart = SyntaxEnd = CommentStart = CommentEnd = CommentStartAlt = CommentEndAlt = SingleComment = ; SingleCommentCol = SingleCommentAlt = SingleCommentColAlt = StringStart = " StringEnd = " StringAlt = StringEsc = CharStart = ' CharEnd = ' CharEsc = ; Communication Commands [Keywords 1] bplusrecv bplussend changedir clearscreen closett connect disconnect enablekeyb flushrecv gettitle kmtfinish kmtget kmtrecv kmtsend loadkeymap logclose logopen logpause logstart logwrite quickvanrecv quickvansend recvln restoresetup send sendbreak sendfile sendkcode sendln setecho setsync settitle showtt testlink unlink wait waitevent waitln waitrecv xmodemrecv xmodemsend zmodemrecv zmodemsend ; Reserved Words and "Universal" Variables [Keywords 2] inputstr param2 param3 result timeout and not or xor ; Below are 'local' variables I regularly use in scripts strDate strTime UsernamePrompt PasswordPrompt ttenvScriptDir ttenvFileDir ; Control Commands [Keywords 3] call end execcmnd exit for next goto if then elseif else endif include pause return while endwhile ; String Operation Commands [Keywords 4] code2str int2str str2code str2int strcompare strconcat strcopy strlen strscan ; File Operation Commands [Keywords 5] fileclose fileconcat filecopy filecreate filedelete filemarkptr fileopen filereadln filerename filesearch fileseek fileseekback filestrseek filestrseek2 filewrite filewriteln findfirst, findnext, findclose getdir makepath setdir ; Miscellaneous commands [Keywords 6] delpassword getpassword passwordbox beep closesbox exec getdate getenv gettime inputbox messagebox setdate setdlgpos setexitcode settime show statusbox yesnobox