; SQR Syntax - Created by Jason Penney and Greg Wendt ; ; If you would like me to add any keywords or columns types to this ; syntax definition, please feel free to e-mail me with the additions. ; C=1 [Syntax] Namespace1 = 6 IgnoreCase = yes InitKeyWordChars = A-Za-z_#$ KeyWordChars = A-Za-z0-9_- PreprocStart = # SyntaxStart = SyntaxEnd = CommentStart = #if 1=2 CommentEnd = #endif SingleComment = ! SingleCommentCol = SingleCommentAlt = SingleCommentColAlt = StringStart = " StringEnd = " StringEsc = CharStart = ' CharEnd = ' CharEsc = [Preprocessor keywords] #debug #debuga #debugb #debugc #debugd #debuge #debugf #debugg #debugh #debugi #debugj #debugk #debugl #debugm #debugn #debugo #debugp #debugq #debugr #debugs #debugt #debugu #debugv #debugw #debugx #debugy #debugz #define #else #end-if #endif #if #ifdef #ifndef #include [Keywords 1] alter-printer alter-locale begin-document begin-footing begin-heading begin-procedure begin-program begin-report begin-select begin-setup begin-sql declare-chart declare-image declare-layout declare-printer declare-procedure declare-report declare-toc declare-variable end-declare end-document end-footing end-heading end-procedure end-program end-report end-select end-setup end-sql exit-select load-lookup [Keywords 2] add array-add array-divide array-multiply array-subtract ask break call clear-array close columns commit concat connect create-array display divide do else encode end-evaluate end-if end-while evaluate execute extract find get goto graphic if input last-page let lookup lowercase mbtosbs move multiply new-page new-report next-column next-listing open page-number position print print-bar-code print-chart print-direct print-image put read rollback sbtombs show stop string subtract system toc-entry unstring uppercase use use-column use-printer-type use-procedure use-report using when when-other while write ;PRE-VERSION 4 SQR COMMANDS date-time dollar-symbol font money-symbol no-formfeed page-size printer-deinit printer-init [Keywords 3] #current-column #current-line #end-file #page-count #return-status #sql-count $sql-error #sql-status #sqr-pid $sqr-database $sqr-platform $sqr-program $sqr-report $sqr-ver $username [Keywords 4] ;NUMERIC/DATE FUNCTIONS abs acos asin atan ceil cos cosh deg e10 exp floor log log10 mod power rad round sign sin sinh sqrt tan tanh trunc ;STRING FUNCTIONS array ascii asciic chr cond dateadd datediff datenow datetostr edit getenv instr instrb isblank isnull length lengthb lower lpad ltrim nvl range roman rpad rtrim strtodate substr substrb to_char to_multi_byte to_number to_single_byte translate upper wrapdepth