Here too is the TextPad Syntax files for Kix2k:I have made a few different ones depending on your use of Kix2k:
KiX2k only: This Syntax Definition file has all the commands and functions that do not work in KiX2k moved to [Keywords 5]. Be sure to colour these red on yellow so that you can see that they should not be there.
Kix2001.SYN
code:
; TextPad syntax definitions for KixTart 2001 beta 2
; Contributed by cj - email chrismat@ozemail.com.auC=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 =
; Commands
[Keywords 1]
AND
BEEP
BIG
CALL
CASE
CD
CLS
COLOR
COOKIE1
COPY
DEL
DELETE
DIM
DISPLAY
DO
EACH
ELSE
ENDFUNCTION
ENDIF
ENDSELECT
FILE
FLUSHKB
FOR
FUNCTION
GET
GETS
GLOBAL
GOSUB
GOTO
IN
IF
LIST
LOOP
MD
NEXT
NOT
OPTIONAL
OR
PASSWORD
PERSISTANT
PLAY
RD
RETURN
RUN
SELECT
SET
SETL
SETM
SETTIME
SHELL
SLEEP
SMALL
STEP
TO
UNTIL
USE
USER
WHILE
; Functions
[Keywords 2]
ADDKEY
ADDPRINTERCONNECTION
ADDPROGRAMGROUP
ADDPROGRAMITEM
ASC
AT
BACKUPEVENTLOG
BOX
CHR
CLEAREVENTLOG
CLOSE
COMPAREFILETIMES
CREATEOBJECT
DECTOHEX
DELKEY
DELPRINTERCONNECTION
DELPROGRAMGROUP
DELPROGRAMITEM
DELTREE
DELVALUE
DIR
ENUMGROUP
ENUMIPINFO
ENUMKEY
ENUMLOCALGROUP
ENUMVALUE
EXPANDENVIRONMENTVARS
EXECUTE
EXIST
GETDISKSPACE
GETFILEATTR
GETFILESIZE
GETFILETIME
GETFILEVERSION
GETOBJECT
INGROUP
INSTR
KEYEXIST
LCASE
LEN
LOADHIVE
LOADKEY
LOGEVENT
LOGOFF
LTRIM
MESSAGEBOX
OPEN
READLINE
READPROFILESTRING
READTYPE
READVALUE
REDIM
REDIRECTOUTPUT
RND
RTRIM
SAVEKEY
SENDKEYS
SENDMESSAGE
SETASCII
SETCONSOLE
SETDEFAULTPRINTER
SETFILEATTR
SETFOCUS
SETSYSTEMSTATE
SETTITLE
SETWALLPAPER
SHOWPROGRAMGROUP
SHUTDOWN
SIDTONAME
SPLIT
SRND
SUBSTR
UBOUND
UCASE
UNLOADHIVE
VAL
VARTYPE
VARTYPENAME
WRITELINE
WRITEPROFILESTRING
WRITEVALUE
; Macros
[Keywords 3]
ADDRESS
COMMENT
CSD
CURDIR
DATE
DAY
DOMAIN
DOS
ERROR
FULLNAME
HOMEDIR
HOMEDRIVE
HOMESHR
HOSTNAME
INWIN
IPADDRESS0
IPADDRESS1
IPADDRESS2
IPADDRESS3
KIX
LANROOT
LDOMAIN
LDRIVE
LM
LONGHOMEDIR
LSERVER
MAXPWAGE
MDAYNO
MONTHNO
MONTH
PRIMARYGROUP
PRIV
PRODUCTSUITE
PRODUCTTYPE
PWAGE
RAS
RSERVER
SCRIPTDIR
SERROR
SID
SITE
STARTDIR
SYSLANG
TIME
USERID
USERLANG
WDAYNO
WKSTA
WUSERID
YDAYNO
YEAR
; Exit control commands
[Keywords 4]
BREAK
DEBUG
EXIT
QUIT
; Commands and Functions not supported
[Keywords 5]
EXISTKEY
GO
OLECALLFUNC
OLECALLPROC
OLECREATEOBJECT
OLEGETOBJECT
OLEGETPROPERTY
OLEGETSUBOBJECT
OLEPUTPROPERTY
OLERELEASEOBJECT
This SDF has both KiX2k and KiX3.6x commands together for people who use both.
KiXboth.SYN
code:
; TextPad syntax definitions for KixTart 2001 beta 2
; Contributed by cj - email chrismat@ozemail.com.auC=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 =
; Commands
[Keywords 1]
AND
BEEP
BIG
CALL
CASE
CD
CLS
COLOR
COOKIE1
COPY
DEL
DELETE
DIM
DISPLAY
DO
EACH
ELSE
ENDFUNCTION
ENDIF
ENDSELECT
FILE
FLUSHKB
FOR
FUNCTION
GET
GETS
GLOBAL
GO
GOSUB
GOTO
IN
IF
LIST
LOOP
MD
NEXT
NOT
OPTIONAL
OR
PASSWORD
PERISISTANT
PLAY
RD
RETURN
RUN
SELECT
SET
SETL
SETM
SETTIME
SHELL
SLEEP
SMALL
STEP
TO
UNTIL
USE
USER
WHILE
; Functions
[Keywords 2]
ADDKEY
ADDPRINTERCONNECTION
ADDPROGRAMGROUP
ADDPROGRAMITEM
ASC
AT
BACKUPEVENTLOG
BOX
CHR
CLEAREVENTLOG
CLOSE
COMPAREFILETIMES
CREATEOBJECT
DECTOHEX
DELKEY
DELPRINTERCONNECTION
DELPROGRAMGROUP
DELPROGRAMITEM
DELTREE
DELVALUE
DIR
ENUMGROUP
ENUMIPINFO
ENUMKEY
ENUMLOCALGROUP
ENUMVALUE
EXPANDENVIRONMENTVARS
EXECUTE
EXIST
EXISTKEY
GETDISKSPACE
GETFILEATTR
GETFILESIZE
GETFILETIME
GETFILEVERSION
GETOBJECT
INGROUP
INSTR
KEYEXIST
LCASE
LEN
LOADHIVE
LOADKEY
LOGEVENT
LOGOFF
LTRIM
MESSAGEBOX
OLECALLFUNC
OLECALLPROC
OLECREATEOBJECT
OLEGETOBJECT
OLEGETPROPERTY
OLEGETSUBOBJECT
OLEPUTPROPERTY
OLERELEASEOBJECT
OPEN
READLINE
READPROFILESTRING
READTYPE
READVALUE
REDIM
REDIRECTOUTPUT
RND
RTRIM
SAVEKEY
SENDKEYS
SENDMESSAGE
SETASCII
SETCONSOLE
SETDEFAULTPRINTER
SETFILEATTR
SETFOCUS
SETSYSTEMSTATE
SETTITLE
SETWALLPAPER
SHOWPROGRAMGROUP
SHUTDOWN
SIDTONAME
SPLIT
SRND
SUBSTR
UBOUND
UCASE
UNLOADHIVE
VAL
VARTYPE
VARTYPENAME
WRITELINE
WRITEPROFILESTRING
WRITEVALUE
; Macros
[Keywords 3]
ADDRESS
COMMENT
CSD
CURDIR
DATE
DAY
DOMAIN
DOS
ERROR
FULLNAME
HOMEDIR
HOMEDRIVE
HOMESHR
HOSTNAME
INWIN
IPADDRESS0
IPADDRESS1
IPADDRESS2
IPADDRESS3
KIX
LANROOT
LDOMAIN
LDRIVE
LM
LONGHOMEDIR
LSERVER
MAXPWAGE
MDAYNO
MONTHNO
MONTH
PRIMARYGROUP
PRIV
PRODUCTSUITE
PRODUCTTYPE
PWAGE
RAS
RSERVER
SCRIPTDIR
SERROR
SID
SITE
STARTDIR
SYSLANG
TIME
USERID
USERLANG
WDAYNO
WKSTA
WUSERID
YDAYNO
YEAR
; Exit control commands
[Keywords 4]
BREAK
DEBUG
EXIT
QUIT
These files are also available from TextPad's Syntax Definition Files page but those are in need of updating. The files above are more recent.
enjoy.
cj
------------------
For more scripts goto cj's home page
chrismat@ozemail.com.au