1" Vim syntax file"
2" Language:	Baan
3" Maintainer:	Erik Remmelzwaal (erik.remmelzwaal 0x40 ssaglobal.com)
4" Originally owned by: Erwin Smit / Her van de Vliert
5" Last change:  v1.17 2006/04/26 10:40:18
6
7" For version 5.x: Clear all syntax items
8" For version 6.x: Quit when a syntax file was already loaded
9"
10if version < 600
11  syntax clear
12  if exists("baan_fold")
13	  unlet baan_fold
14  endif
15elseif exists("b:current_syntax")
16  finish
17endif
18
19"********************************** Lexical setting ***************************"
20syn case ignore
21setlocal iskeyword+=.
22"setlocal ignorecase 	"This is not a local yet ;-(
23" Identifier
24syn match   baanIdentifier "\<\k\+\>"
25
26"************************************* 3GL ************************************"
27syn match   baan3glpre "#ident\>"
28syn match   baan3glpre "#include\>"
29syn region  baan3glpre start="#define\>" end="^[^^|]"me=s-1 contains=baanString,baanConstant,baanNumber,baanComment,baansql
30syn match   baan3glpre "#undef\>"
31syn match   baan3glpre "#pragma\>"
32syn match   baan3glpre "#if\>"
33syn match   baan3glpre "#ifdef\>"
34syn match   baan3glpre "#ifndef\>"
35syn match   baan3glpre "#elif\>"
36syn match   baan3glpre "#else\>"
37syn match   baan3glpre "#endif\>"
38
39" Some keywords are only defined when no foldinat based break bset call continue default
40syn keyword baan3gl empty  fixed ge global goto gt le lt mb
41syn keyword baan3gl multibyte ne ofr prompt repeat static step stop
42syn keyword baan3gl until void wherebind ref reference break continue
43syn keyword baan3gl and or to not in
44syn keyword baan3gl eq input end return at print
45syn keyword baanType domain double long string table boolean common
46syn keyword baanType bset void xmlNode
47syn keyword baanStorageClass dim base based extern global fixed MB const
48syn keyword baanConstant pi true false
49
50" Folding settings
51if exists("baan_fold") && baan_fold
52  syn region baanFunctionFold matchgroup=baan3gl start="^\z(\s*\)\<function\>" matchgroup=NONE end="^\z1}" transparent fold keepend
53else
54  syn keyword baan3gl function
55endif
56if exists("baan_fold") && baan_fold && exists("baan_fold_block") && baan_fold_block
57  syn region  baanCondFold matchgroup=baanConditional start="^\z(\s*\)\(if\>\|else\>\)" end="^\z1endif\>" end="^\z1else\>"me=s-1 transparent fold keepend extend
58  syn region  baanCondFold matchgroup=baanConditional start="^\z(\s*\)for\>"            end="^\z1endfor\>" transparent fold keepend extend
59  syn region  baanCondFold matchgroup=baanConditional start="^\z(\s*\)while\>"          end="^\z1endwhile\>" transparent fold keepend extend
60  syn region  baanDLLUsage matchgroup=baan3gl         start="^\z(\s*\)dllusage\>"       end="^\z1enddllusage\>" fold contains=baanNumber,baanConstant,baanType
61  syn region  baanFunUsage matchgroup=baan3gl         start="^\z(\s*\)functionusage\>"  end="^\z1endfunctionusage\>" fold  contains=baanNumber,baanConstant,baanType
62  syn region  baanCondFold matchgroup=baanConditional start="^\z(\s*\)\(case\>\|default\>\)\>" end="^\z1endcase\>" end="^\z1\(case\>\|default\>\)"me=s-1 transparent fold keepend extend
63  syn keyword baanConditional then else endif while endwhile endfor case endcase 
64  syn match   baanConditional "\<on case\>"
65else
66  syn match   baanConditional "\<for\>" contains=baansql
67  syn match   baanConditional "\<on case\>"
68  syn keyword baanConditional if then else endif while endwhile endfor case endcase default
69  syn region  baanDLLUsage matchgroup=baan3gl start="\<dllusage\>" end="\<enddllusage\>" contains=baanNumber,baanConstant,baanType
70  syn region  baanFunUsage matchgroup=baan3gl start="\<functionusage\>" end="\<endfunctionusage\>" contains=baanNumber,baanConstant,baanType
71endif
72
73"************************************* SQL ************************************"
74syn keyword baansql from selectbind 
75syn keyword baansql where wherebind whereused exsists  
76syn keyword baansql between inrange having
77syn keyword baansql hint ordered asc desc
78syn match   baansql "\<as set with \d\+ rows\>"
79syn match   baansql "\<as prepared set\>"
80syn match   baansql "\<as prepared set with \d\+ rows\>"
81syn match   baansql "\<with retry\>"
82syn match   baansql "\<with retry repeat last row\>"
83syn match   baansql "\<for update\>"
84syn match   baansql "\<order by\>"
85syn match   baansql "\<group by\>"
86syn match   baansql "\<union all\>"
87" references
88syn keyword path reference 
89syn match   baansql "\<refers to\>"
90syn match   baansql "\<unref clear\>"
91syn match   baansql "\<unref setunref\>"
92syn match   baansql "\<unref clearunref\>"
93syn match   baansql "\<unref skip\>"
94" hints
95syn keyword baansql hint and ordered asc desc
96syn match   baansql "\<use index \d\+ on\>"
97syn match   baansql "\<array fetching\>"
98syn match   baansql "\<no array fetching\>"
99syn match   baansql "\<array size \d\+\>"
100syn match   baansql "\<all rows\>"
101syn match   baansql "\<first rows\>"
102syn match   baansql "\<buffer \d\+ rows\>"
103syn match   baansql "\<no hints\>"
104" update
105syn keyword baansql set
106
107if exists("baan_fold") && baan_fold && exists("baan_fold_sql") && baan_fold_sql
108  syn region baanSQLFold matchgroup=baansql start="^\z(\s*\)\(select\>\|selectdo\>\|selectempty\>\|selecterror\>\|selecteos\>\)" end="^\z1endselect\>" end="^\z1\(selectdo\>\|selectempty\>\|selecterror\>\|selecteos\>\)"me=s-1 transparent fold keepend extend
109  "syn region baanSQLFold matchgroup=baansql start="^\z(\s*\)\(update\>\|updateempty\>\|updateerror\>\|selecteos\>\)"             end="^\z1endupdate\>" end="^\z1\(updateempty\>\|updateerror\>\|selecteos\>\)"me=s-1 transparent fold keepend extend
110  syn region baanSQLFold matchgroup=baansql start="^\z(\s*\)\(update\>\|updateempty\>\|updateerror\>\)"             end="^\z1endupdate\>" end="^\z1\(updateempty\>\|updateerror\>\)"me=s-1 transparent fold keepend extend
111  syn region baanSQLFold matchgroup=baansql start="^\z(\s*\)\(delete\s\+from\>\|deleteempty\>\|deleteerror\>\)"                  end="^\z1enddelete\>" end="^\z1\(deleteempty\>\|deleteerror\>\)"me=s-1 transparent fold keepend extend
112else
113  syn keyword baansql select selectdo selectempty selecterror selecteos endselect
114  " delete
115  syn match   baansql "\<delete from\>"
116  syn keyword baansql deleteempty deleteerror deleteeos enddelete
117  " update
118  syn keyword baansql update updateempty updateerror updateeos endupdate
119endif
120
121setlocal foldmethod=syntax
122"syn sync fromstart
123syn sync minlines=100
124
125
126"These are bshell functions
127if exists("baan_obsolete")
128syn match   baansql "commit\.transaction()"
129syn match   baansql "abort\.transaction()"
130syn match   baansql "db\.columns\.to\.record"
131syn match   baansql "db\.record\.to\.columns"
132syn match   baansql "db\.bind"
133syn match   baansql "db\.change\.order"
134syn match   baansql "db\.set\.to\.default"
135syn match   baansql "DB\.RETRY"
136syn match   baansql "db\.delayed\.lock"
137syn match   baansql "db\.retry\.point()"
138syn match   baansql "db\.retry\.hit()"
139syn match   baansql "db\.return\.dupl"
140syn match   baansql "db\.skip\.dupl"
141syn match   baansql "db\.row\.length"
142endif
143
144" Constants
145syn keyword baanConstant __function__
146syn keyword baanConstant __object__ 
147syn keyword baanConstant __file__
148syn keyword baanConstant __line__
149
150syn keyword baanConstant ABORT.PROGRAM
151syn keyword baanConstant ADD.SET
152syn keyword baanConstant ALL_ENUMS_EXCEPT
153syn keyword baanConstant APPL.EXCL
154syn keyword baanConstant APPL.READ
155syn keyword baanConstant APPL.WAIT
156syn keyword baanConstant APPL.WIDE
157syn keyword baanConstant APPL.WRITE
158syn keyword baanConstant ASK.HELPINFO
159syn keyword baanConstant AUTG_PRINT
160syn keyword baanConstant AUTG_DISPLAY
161syn keyword baanConstant AUTG_MODIFY
162syn keyword baanConstant AUTG_INSERT
163syn keyword baanConstant AUTG_DELETE
164syn keyword baanConstant AUTG_ALL
165syn keyword baanConstant BMS
166syn keyword baanConstant CALCULATOR
167syn keyword baanConstant CALENDAR
168syn keyword baanConstant CHANGE.ORDER
169syn keyword baanConstant CMD.OPTIONS
170syn keyword baanConstant CMD.WHATS.THIS
171syn keyword baanConstant CMF.MESSAGE
172syn keyword baanConstant CMF.TASK
173syn keyword baanConstant CMF.APPOINTMENT
174syn match   baanConstant "\<COMPANY\$"
175syn keyword baanConstant COMPNR
176syn keyword baanConstant CONT.PROCESS
177syn keyword baanConstant CREATE.JOB
178syn keyword baanConstant DALNOOBJSET
179syn keyword baanConstant DALNOMETHOD
180syn keyword baanConstant DALNOOBJSETID
181syn keyword baanConstant DALNOOBJECTID
182syn keyword baanConstant DALNOPROP
183syn keyword baanConstant DALNOLOCMODE
184syn keyword baanConstant DALNOGETPOS
185syn keyword baanConstant DALNOSETPERM
186syn keyword baanConstant DALNOOBJPERM
187syn keyword baanConstant DALDBERROR
188syn keyword baanConstant DALHOOKERROR
189syn keyword baanConstant DALNOQUERYID
190syn keyword baanConstant DAL_DESTROY
191syn keyword baanConstant DAL_FIND
192syn keyword baanConstant DAL_GET_CURR
193syn keyword baanConstant DAL_GET_FIRST
194syn keyword baanConstant DAL_GET_LAST
195syn keyword baanConstant DAL_GET_NEXT
196syn keyword baanConstant DAL_GET_PREV
197syn keyword baanConstant DAL_GET_SPECIFIED
198syn keyword baanConstant DAL_NEW
199syn keyword baanConstant DAL_UPDATE
200syn keyword baanConstant DB.ARRAY
201syn keyword baanConstant DB.BASED
202syn keyword baanConstant DB.BITSET
203syn keyword baanConstant DB.BYTE
204syn keyword baanConstant DB.CHECK.IGNORED.REF
205syn keyword baanConstant DB.CHILD
206syn keyword baanConstant DB.CLEAR.NO.ROLLBACK
207syn keyword baanConstant DB.CLEAR.WITH.ROLLBACK
208syn keyword baanConstant DB.COMBINED
209syn keyword baanConstant DB.DATE
210syn keyword baanConstant DB.DELAYED.LOCK
211syn keyword baanConstant DB.DOUBLE
212syn keyword baanConstant DB.ENUM
213syn keyword baanConstant DB.EXIT.ON.DUPL
214syn keyword baanConstant DB.EXIT.ON.NOREC
215syn keyword baanConstant DB.EXIT.ON.ROWCHANGED
216syn keyword baanConstant DB.FILLED
217syn keyword baanConstant DB.FIXED
218syn keyword baanConstant DB.FL.LOCK
219syn keyword baanConstant DB.FLOAT
220syn keyword baanConstant DB.IGNORE.ALL.REFS
221syn keyword baanConstant DB.INTEGER
222syn keyword baanConstant DB.IS.REF.TO
223syn keyword baanConstant DB.LOCK
224syn keyword baanConstant DB.LONG
225syn keyword baanConstant DB.MAIL
226syn keyword baanConstant DB.MULTIBYTE
227syn keyword baanConstant DB.NOT.ACTIV
228syn keyword baanConstant DB.PAR.IS.REF.TO
229syn keyword baanConstant DB.REF.CASCADE
230syn keyword baanConstant DB.REF.CHK.RUNTIME
231syn keyword baanConstant DB.REF.DELETE
232syn keyword baanConstant DB.REF.NOP
233syn keyword baanConstant DB.REF.NULLIFY
234syn keyword baanConstant DB.REF.RESTRICTED
235syn keyword baanConstant DB.REF.UPDATE
236syn keyword baanConstant DB.RETRY
237syn keyword baanConstant DB.RETURN.DUPL
238syn keyword baanConstant DB.RETURN.ERROR
239syn keyword baanConstant DB.RETURN.NOREC
240syn keyword baanConstant DB.RETURN.REF.EXISTS
241syn keyword baanConstant DB.RETURN.REF.NOT.EXISTS
242syn keyword baanConstant DB.RETURN.ROWCHANGED
243syn keyword baanConstant DB.RPOINT
244syn keyword baanConstant DB.SKIP.DUPL
245syn keyword baanConstant DB.SKIP.NOREC
246syn keyword baanConstant DB.SKIP.ROWCHANGED
247syn keyword baanConstant DB.STRING
248syn keyword baanConstant DB.TEXT
249syn keyword baanConstant DB.TIME
250syn keyword baanConstant DBG_BDB_ACTIONS
251syn keyword baanConstant DBG_BDB_DELAY_LOCK
252syn keyword baanConstant DBG_BDB_REFER
253syn keyword baanConstant DBG_BDB_SERVER_TYPE
254syn keyword baanConstant DBG_DATA_SIZE
255syn keyword baanConstant DBG_DEBUG_MESG
256syn keyword baanConstant DBG_DEBUG_TSS
257syn keyword baanConstant DBG_FILE
258syn keyword baanConstant DBG_FILEDEV
259syn keyword baanConstant DBG_FUN_DEBUG
260syn keyword baanConstant DBG_GET_PUT_VAR
261syn keyword baanConstant DBG_INSTR_DEBUG
262syn keyword baanConstant DBG_MUL_ACTION
263syn keyword baanConstant DBG_OBJ_SIZE
264syn keyword baanConstant DBG_PRINT_ENUMS
265syn keyword baanConstant DBG_REF_PATH
266syn keyword baanConstant DBG_RESOURCE_DBG
267syn keyword baanConstant DBG_SCHED_DEBUG
268syn keyword baanConstant DBG_SHOW_FLOW
269syn keyword baanConstant DBG_SHOW_TRACE
270syn keyword baanConstant DBG_SRDD_USAGE
271syn keyword baanConstant DEBUG
272syn keyword baanConstant DEF.FIND
273syn keyword baanConstant DISPLAY.SET
274syn keyword baanConstant DIS.RESTARTED
275syn keyword baanConstant DLL_OVERLOAD
276syn keyword baanConstant DLL_OVERLOAD_ALL
277syn keyword baanConstant DLL_SILENT_ERR
278syn keyword baanConstant DSTerminationCreateProcess
279syn keyword baanConstant DSTerminationCreateThread
280syn keyword baanConstant DSTerminationNormalExit
281syn keyword baanConstant DSTerminationOpenStderr
282syn keyword baanConstant DSTerminationOpenStdin
283syn keyword baanConstant DSTerminationOpenStdout
284syn keyword baanConstant DSTerminationSetDir
285syn keyword baanConstant DUPL.OCCUR
286syn keyword baanConstant E2BIG
287syn keyword baanConstant EABORT
288syn keyword baanConstant EACCES
289syn keyword baanConstant EAGAIN
290syn keyword baanConstant EAUDIT
291syn keyword baanConstant EBADADRS
292syn keyword baanConstant EBADARG
293syn keyword baanConstant EBADCOLL
294syn keyword baanConstant EBADCURSOR
295syn keyword baanConstant EBADF
296syn keyword baanConstant EBADFILE
297syn keyword baanConstant EBADFLD
298syn keyword baanConstant EBADKEY
299syn keyword baanConstant EBADLOG
300syn keyword baanConstant EBADMEM
301syn keyword baanConstant EBDBNOTON
302syn keyword baanConstant EBDBON
303syn keyword baanConstant EBUSY
304syn keyword baanConstant ECHILD
305syn keyword baanConstant EDDCORRUPT
306syn keyword baanConstant EDOM
307syn keyword baanConstant EDUPL
308syn keyword baanConstant EENDFILE
309syn keyword baanConstant EEXIST
310syn keyword baanConstant EFAULT
311syn keyword baanConstant EFBIG
312syn keyword baanConstant EFLOCKED
313syn keyword baanConstant EFNAME
314syn keyword baanConstant EINTR
315syn keyword baanConstant EINVAL
316syn keyword baanConstant EIO
317syn keyword baanConstant EISDIR
318syn keyword baanConstant EISREADONLY
319syn keyword baanConstant EKEXISTS
320syn keyword baanConstant ELOCKED
321syn keyword baanConstant ELOGOPEN
322syn keyword baanConstant ELOGREAD
323syn keyword baanConstant ELOGWRIT
324syn keyword baanConstant EMEMORY
325syn keyword baanConstant EMFILE
326syn keyword baanConstant EMLINK
327syn keyword baanConstant EMLOCKED
328syn keyword baanConstant END.PROGRAM
329syn keyword baanConstant ENFILE
330syn keyword baanConstant ENOBEGIN
331syn keyword baanConstant ENOCURR
332syn keyword baanConstant ENODD
333syn keyword baanConstant ENODELAYEDLOCK
334syn keyword baanConstant ENODEV
335syn keyword baanConstant ENOENT
336syn keyword baanConstant ENOEXEC
337syn keyword baanConstant ENOLOK
338syn keyword baanConstant ENOMEM
339syn keyword baanConstant ENONFS
340syn keyword baanConstant ENOREC
341syn keyword baanConstant ENOSERVER
342syn keyword baanConstant ENOSHMEM
343syn keyword baanConstant ENOSPC
344syn keyword baanConstant ENOTABLE
345syn keyword baanConstant ENOTBLK
346syn keyword baanConstant ENOTDIR
347syn keyword baanConstant ENOTEXCL
348syn keyword baanConstant ENOTINRANGE
349syn keyword baanConstant ENOTLOCKED
350syn keyword baanConstant ENOTOPEN
351syn keyword baanConstant ENOTRANS
352syn keyword baanConstant ENOTTY
353syn keyword baanConstant ENXIO
354syn keyword baanConstant ENUMMASK.INITIAL
355syn keyword baanConstant ENUMMASK.GENERAL
356syn keyword baanConstant EPERM
357syn keyword baanConstant EPIPE
358syn keyword baanConstant EPRIMKEY
359syn keyword baanConstant ERANGE
360syn keyword baanConstant EREFERENCE
361syn keyword baanConstant EREFEXISTS
362syn keyword baanConstant EREFLOCKED
363syn keyword baanConstant EREFNOTEXISTS
364syn keyword baanConstant EREFUNDEFINED
365syn keyword baanConstant EREFUPDATE
366syn keyword baanConstant EROFS
367syn keyword baanConstant EROWCHANGED
368syn keyword baanConstant ESPIPE
369syn keyword baanConstant ESQLCARDINALITYVIOLATION
370syn keyword baanConstant ESQLDIVBYZERO
371syn keyword baanConstant ESQLFILEIO
372syn keyword baanConstant ESQLINDEXOUTOFDIMS
373syn keyword baanConstant ESQLINVALIDPARAMETERTYPE
374syn keyword baanConstant ESQLQUERY
375syn keyword baanConstant ESQLREFER
376syn keyword baanConstant ESQLSTRINGTRUNCATION
377syn keyword baanConstant ESQLSUBSTRINGERROR
378syn keyword baanConstant ESQLSYNTAX
379syn keyword baanConstant ESRCH
380syn keyword baanConstant ETABLEEXIST
381syn keyword baanConstant ETOOMANY
382syn keyword baanConstant ETRANSACTIONON
383syn keyword baanConstant ETXTBSY
384syn keyword baanConstant EUNALLOWEDCOMPNR
385syn keyword baanConstant EVTALLEVENTMASK
386syn keyword baanConstant EVTARMBUTTON
387syn keyword baanConstant EVTARMBUTTONMASK
388syn keyword baanConstant EVTBUCKETMESSAGE
389syn keyword baanConstant EVTBUTTON1
390syn keyword baanConstant EVTBUTTON1MASK
391syn keyword baanConstant EVTBUTTON2
392syn keyword baanConstant EVTBUTTON2MASK
393syn keyword baanConstant EVTBUTTON3
394syn keyword baanConstant EVTBUTTON3MASK
395syn keyword baanConstant EVTBUTTON4
396syn keyword baanConstant EVTBUTTON4MASK
397syn keyword baanConstant EVTBUTTON5
398syn keyword baanConstant EVTBUTTON5MASK
399syn keyword baanConstant EVTBUTTONCHECKED
400syn keyword baanConstant EVTBUTTONDPRESS
401syn keyword baanConstant EVTBUTTONDPRESSMASK
402syn keyword baanConstant EVTBUTTONMOTION
403syn keyword baanConstant EVTBUTTONMOTIONMASK
404syn keyword baanConstant EVTBUTTONPRESS
405syn keyword baanConstant EVTBUTTONPRESSMASK
406syn keyword baanConstant EVTBUTTONRELEASE
407syn keyword baanConstant EVTBUTTONRELEASEMASK
408syn keyword baanConstant EVTBUTTONSELECT
409syn keyword baanConstant EVTBUTTONSELECTMASK
410syn keyword baanConstant EVTBUTTONUNCHECKED
411syn keyword baanConstant EVTBUTTONUNDEFINED
412syn keyword baanConstant EVTCHANGEFOCUS
413syn keyword baanConstant EVTCHANGEFOCUSMASK
414syn keyword baanConstant EVTCHANNELEVENT
415syn keyword baanConstant EVTCHECKBOXMASK
416syn keyword baanConstant EVTCHECKBOXSELECT
417syn keyword baanConstant EVTCLIENTMESSAGE
418syn keyword baanConstant EVTCONNECTREQUEST
419syn keyword baanConstant EVTCONTROLMASK
420syn keyword baanConstant EVTDEATHCHILD
421syn keyword baanConstant EVTDEATHCHILDMASK
422syn keyword baanConstant EVTDISARMBUTTON
423syn keyword baanConstant EVTDISARMBUTTONMASK
424syn keyword baanConstant EVTDLLEVENT
425syn keyword baanConstant EVTDLLEVENTMASK
426syn keyword baanConstant EVTENTERNOTIFY
427syn keyword baanConstant EVTENTERNOTIFYMASK
428syn keyword baanConstant EVTFIELDSELECT
429syn keyword baanConstant EVTFIELDSELECTMASK
430syn keyword baanConstant EVTGRIDACTIVATE
431syn keyword baanConstant EVTGRIDBUTTONPRESS
432syn keyword baanConstant EVTGRIDCHANGEDATA
433syn keyword baanConstant EVTGRIDCHANGEFOCUS
434syn keyword baanConstant EVTGRIDEVENT
435syn keyword baanConstant EVTGRIDEVENTMASK
436syn keyword baanConstant EVTGRIDFOCUSCHANGEDBYMOUSE
437syn keyword baanConstant EVTGRIDLISTBOXCHANGE
438syn keyword baanConstant EVTGRIDMARKCELL
439syn keyword baanConstant EVTGRIDMARKCOLUMN
440syn keyword baanConstant EVTGRIDMARKRANGE
441syn keyword baanConstant EVTGRIDMARKROW
442syn keyword baanConstant EVTGRIDMOVECOLUMN
443syn keyword baanConstant EVTGRIDMOVEROW
444syn keyword baanConstant EVTGRIDRESETSELECTION
445syn keyword baanConstant EVTGRIDRESIZECOLUMN
446syn keyword baanConstant EVTGRIDRESIZEROW
447syn keyword baanConstant EVTHELPCOMMAND
448syn keyword baanConstant EVTHELPCONTEXT
449syn keyword baanConstant EVTHELPEVENT
450syn keyword baanConstant EVTHELPEVENTMASK
451syn keyword baanConstant EVTIOEVENT
452syn keyword baanConstant EVTIOEVENTMASK
453syn keyword baanConstant EVTKEYPRESS
454syn keyword baanConstant EVTKEYPRESSMASK
455syn keyword baanConstant EVTKILLEVENT
456syn keyword baanConstant EVTLEAVENOTIFY
457syn keyword baanConstant EVTLEAVENOTIFYMASK
458syn keyword baanConstant EVTLISTBOXREASONACTIVATE
459syn keyword baanConstant EVTLISTBOXREASONSELECTION
460syn keyword baanConstant EVTLISTBOXREASONTEXT
461syn keyword baanConstant EVTLISTBOXSELECT
462syn keyword baanConstant EVTLISTBOXSELECTMASK
463syn keyword baanConstant EVTLOCKMASK
464syn keyword baanConstant EVTMAXSIZE
465syn keyword baanConstant EVTMENUSELECT
466syn keyword baanConstant EVTMENUSELECTMASK
467syn keyword baanConstant EVTMOD1MASK
468syn keyword baanConstant EVTMOVEWINDOW
469syn keyword baanConstant EVTMOVEWINDOWMASK
470syn keyword baanConstant EVTNAVIGATOREVENT
471syn keyword baanConstant EVTNAVIGATOREVENTMASK
472syn keyword baanConstant EVTNOEVENTMASK
473syn keyword baanConstant EVTOLEAUTOMATION
474syn keyword baanConstant EVTOLECLOSE
475syn keyword baanConstant EVTOLECREATEINSTANCE
476syn keyword baanConstant EVTOLEDATACHANGED
477syn keyword baanConstant EVTOLEEVENT
478syn keyword baanConstant EVTOLEEVENTMASK
479syn keyword baanConstant EVTOLEHIDEWINDOW
480syn keyword baanConstant EVTOLELOADDATA
481syn keyword baanConstant EVTOLELOCKSERVER
482syn keyword baanConstant EVTOLEOBJECTWINDOWINVISIBLE
483syn keyword baanConstant EVTOLEOBJECTWINDOWVISIBLE
484syn keyword baanConstant EVTOLERELEASED
485syn keyword baanConstant EVTOLESAVEDATA
486syn keyword baanConstant EVTOLESETHOSTNAMES
487syn keyword baanConstant EVTOLESHOWOBJECT
488syn keyword baanConstant EVTOLESHOWWINDOW
489syn keyword baanConstant EVTOLEUNLOCKSERVER
490syn keyword baanConstant EVTOPTIONSELECT
491syn keyword baanConstant EVTPROCESSEVENT
492syn keyword baanConstant EVTPUSHBUTTON
493syn keyword baanConstant EVTRADIOBOXMASK
494syn keyword baanConstant EVTRADIOBOXSELECT
495syn keyword baanConstant EVTRESIZEWINDOW
496syn keyword baanConstant EVTRESIZEWINDOWMASK
497syn keyword baanConstant EVTRUNPROGEXIT
498syn keyword baanConstant EVTSCROLLBARSELECT
499syn keyword baanConstant EVTSCROLLBARSELECTMASK
500syn keyword baanConstant EVTSETFOCUS
501syn keyword baanConstant EVTSETFOCUSMASK
502syn keyword baanConstant EVTSHIFTMASK
503syn keyword baanConstant EVTSLIDERSELECT
504syn keyword baanConstant EVTSLIDERSELECTMASK
505syn keyword baanConstant EVTSOCKHASDATA
506syn keyword baanConstant EVTSOCKIOERROR
507syn keyword baanConstant EVTTABSELECT
508syn keyword baanConstant EVTTABSELECTMASK
509syn keyword baanConstant EVTTERMINATION
510syn keyword baanConstant EVTTERMINATIONMASK
511syn keyword baanConstant EVTTIMEREVENT
512syn keyword baanConstant EVTTIMEREVENTMASK
513syn keyword baanConstant EVTTREEREASONACTIVATE
514syn keyword baanConstant EVTTREEREASONACTIVATEMASK
515syn keyword baanConstant EVTTREEREASONCOLLAPSE
516syn keyword baanConstant EVTTREEREASONCOLLAPSEMASK
517syn keyword baanConstant EVTTREEREASONEXPAND
518syn keyword baanConstant EVTTREEREASONEXPANDMASK
519syn keyword baanConstant EVTTREEREASONSELECT
520syn keyword baanConstant EVTTREEREASONSELECTMASK
521syn keyword baanConstant EVTTREESELECT
522syn keyword baanConstant EVTTREESELECTMASK
523syn keyword baanConstant EXDEV
524syn keyword baanConstant EXPLICIT.MODELESS
525syn keyword baanConstant EXTEND_APPEND
526syn keyword baanConstant EXTEND_OVERWRITE
527syn keyword baanConstant F.ASK.HELPINFO
528syn keyword baanConstant F.BACKTAB
529syn keyword baanConstant F.BMS
530syn keyword baanConstant F.HELP.INDEX
531syn keyword baanConstant F.NEXT.FLD
532syn keyword baanConstant F.NEXT.OBJ
533syn keyword baanConstant F.NEXT.OCC
534syn keyword baanConstant F.PREV.FLD
535syn keyword baanConstant F.PREV.OBJ
536syn keyword baanConstant F.PREV.OCC
537syn keyword baanConstant F.RESIZE
538syn keyword baanConstant F.RETURN
539syn keyword baanConstant F.SCROLL
540syn keyword baanConstant F.SELECT.FIELD
541syn keyword baanConstant F.SELECT.OPTION
542syn keyword baanConstant F.TAB
543syn keyword baanConstant F.TO.CHOICE
544syn keyword baanConstant F.TO.FIELD
545syn keyword baanConstant F.TO.FORM
546syn keyword baanConstant F.ZOOM
547syn keyword baanConstant FALSE
548syn keyword baanConstant FC.CURR.FIELD
549syn keyword baanConstant FC.FIRST.FIELD
550syn keyword baanConstant FC.FIRST.FORM
551syn keyword baanConstant FC.FRM.WINDOW
552syn keyword baanConstant FC.GET.HEIGHT.FORM
553syn keyword baanConstant FC.GET.SELECTED.FIELD
554syn keyword baanConstant FC.GET.SELECTED.OCC
555syn keyword baanConstant FC.GET.WIDTH.FORM
556syn keyword baanConstant FC.GOTO.FIELD
557syn keyword baanConstant FC.GOTO.FIRST.FLD
558syn keyword baanConstant FC.GOTO.FIRST.FORM
559syn keyword baanConstant FC.GOTO.FORM
560syn keyword baanConstant FC.GOTO.NEXT.FLD
561syn keyword baanConstant FC.GOTO.NEXT.FORM
562syn keyword baanConstant FC.GRA.WINDOW
563syn keyword baanConstant FC.KYS.WINDOW
564syn keyword baanConstant FC.LAST.FIELD
565syn keyword baanConstant FC.LAST.FORM
566syn keyword baanConstant FC.MAKE.FLD.CURR
567syn keyword baanConstant FC.MOVE.FORM
568syn keyword baanConstant FC.NEXT.FIELD
569syn keyword baanConstant FC.NEXT.FORM
570syn keyword baanConstant FC.OPT.WINDOW
571syn keyword baanConstant FC.PREV.FIELD
572syn keyword baanConstant FC.PREV.FORM
573syn keyword baanConstant FC.RESIZE.FORM
574syn keyword baanConstant FC.REST.FRM.ST
575syn keyword baanConstant FC.RPT.WINDOW
576syn keyword baanConstant FC.SAVE.FRM.ST
577syn keyword baanConstant FC.SAVE.SELECT
578syn keyword baanConstant FC.SEL.FIELD
579syn keyword baanConstant FC.SEL.FORM
580syn keyword baanConstant FC.SWITCH.ORDER.OFF
581syn keyword baanConstant FC.SWITCH.ORDER.ON
582syn keyword baanConstant FC.TEXT.MAIL.WINDOW
583syn keyword baanConstant FIND.DATA
584syn keyword baanConstant FIRST.FRM
585syn keyword baanConstant FIRST.SET
586syn keyword baanConstant FIRST.VIEW
587syn keyword baanConstant FLDCHANGED
588syn keyword baanConstant FLDKEYPRESS
589syn keyword baanConstant FORM.TAB.CHANGE
590syn keyword baanConstant GET.DEFAULTS
591syn keyword baanConstant GETS_ALL_CHARS
592syn keyword baanConstant GETS_NORMAL
593syn keyword baanConstant GETS_SKIP_ALL
594syn keyword baanConstant GLOBAL.COPY
595syn keyword baanConstant GLOBAL.DELETE
596syn keyword baanConstant HELP_ABOUT
597syn keyword baanConstant HELP_ARG_LEN
598syn keyword baanConstant HELP_BITMAP
599syn keyword baanConstant HELP_BLOCK
600syn keyword baanConstant HELP_CHOICE
601syn keyword baanConstant HELP_CLIENT_IMAGE_NOTLOADED
602syn keyword baanConstant HELP_CLIENT_IMAGE_READY
603syn keyword baanConstant HELP_CLIENT_NEW_ARGS
604syn keyword baanConstant HELP_CLIENT_NEW_INFO
605syn keyword baanConstant HELP_COMMANDS
606syn keyword baanConstant HELP_DOMAIN
607syn keyword baanConstant HELP_ENUM
608syn keyword baanConstant HELP_EXTERNAL
609syn keyword baanConstant HELP_FORM
610syn keyword baanConstant HELP_FORMFIELD
611syn keyword baanConstant HELP_FROM_INDEX
612syn keyword baanConstant HELP_GEM
613syn keyword baanConstant HELP_GIF
614syn keyword baanConstant HELP_GLOSSARY
615syn keyword baanConstant HELP_GOTO
616syn keyword baanConstant HELP_GOTOBLOCK
617syn keyword baanConstant HELP_GO_SYS_DEPENDANT
618syn keyword baanConstant HELP_HPGL
619syn keyword baanConstant HELP_IFUNCTION
620syn keyword baanConstant HELP_IFUNCTION2
621syn keyword baanConstant HELP_IFUNCTION3
622syn keyword baanConstant HELP_INDEX
623syn keyword baanConstant HELP_LABEL
624syn keyword baanConstant HELP_LABELHELP
625syn keyword baanConstant HELP_MARK
626syn keyword baanConstant HELP_MAXTYPE
627syn keyword baanConstant HELP_MAX_ARGS
628syn keyword baanConstant HELP_MAX_HIST
629syn keyword baanConstant HELP_MAX_IMAGE
630syn keyword baanConstant HELP_MENU
631syn keyword baanConstant HELP_MESSAGE
632syn keyword baanConstant HELP_ORGANIZER
633syn keyword baanConstant HELP_POPUP_TYPE
634syn keyword baanConstant HELP_POSTSCRIPT
635syn keyword baanConstant HELP_QUESTION
636syn keyword baanConstant HELP_REFERENCE
637syn keyword baanConstant HELP_RELATION
638syn keyword baanConstant HELP_RELATION2
639syn keyword baanConstant HELP_RELATION_DIAGRAM
640syn keyword baanConstant HELP_REPORT
641syn keyword baanConstant HELP_SESSION
642syn keyword baanConstant HELP_STARTSESSION
643syn keyword baanConstant HELP_STARTSHELL
644syn keyword baanConstant HELP_SUBFUNCTION
645syn keyword baanConstant HELP_SYSTEM_DEPENDANT
646syn keyword baanConstant HELP_TABLE
647syn keyword baanConstant HELP_TABLEFIELD
648syn keyword baanConstant HELP_USING
649syn keyword baanConstant HOOK_IS_APPLICABLE
650syn keyword baanConstant HOOK_IS_DERIVED
651syn keyword baanConstant HOOK_IS_MANDATORY
652syn keyword baanConstant HOOK_IS_READONLY
653syn keyword baanConstant HOOK_IS_VALID
654syn keyword baanConstant HOOK_UPDATE
655syn keyword baanConstant INCLUDE_ENUMS
656syn keyword baanConstant INTERRUPT
657syn keyword baanConstant LAST.FRM
658syn keyword baanConstant LAST.SET
659syn keyword baanConstant LAST.VIEW
660syn keyword baanConstant MARK.ABORT
661syn keyword baanConstant MARK.DELETE
662syn keyword baanConstant MARK.GOTO.NEXT
663syn keyword baanConstant MARK.GOTO.PREV
664syn keyword baanConstant MARK.OCCUR
665syn keyword baanConstant MARK.SHOW.OPT
666syn keyword baanConstant MARK.TAG
667syn keyword baanConstant MARK.TAG.ALL
668syn keyword baanConstant MARK.TO.CHOICE
669syn keyword baanConstant MARK.UNTAG
670syn keyword baanConstant MARK.UNTAG.ALL
671syn keyword baanConstant MARKONE.ACCEPT
672syn keyword baanConstant MSG.ALL
673syn keyword baanConstant MSG.ERROR
674syn keyword baanConstant MSG.INFO
675syn keyword baanConstant MSG.WARNING
676syn keyword baanConstant MSG.SUCCESS
677syn keyword baanConstant MODAL
678syn keyword baanConstant MODAL_OVERVIEW
679syn keyword baanConstant MODELESS
680syn keyword baanConstant MODELESS_ALWAYS
681syn keyword baanConstant MODIFY.SET
682syn keyword baanConstant MULTI_OCC
683syn keyword baanConstant NEXT.FRM
684syn keyword baanConstant NEXT.SET
685syn keyword baanConstant NEXT.VIEW
686syn keyword baanConstant NO.PERM.DEFINED
687syn keyword baanConstant NO.PERMISSION
688syn keyword baanConstant NO.RESTRICTION
689syn keyword baanConstant NO.ROLLBACK
690syn keyword baanConstant OLESVR.INIT
691syn keyword baanConstant OLESVR.OBJECT.CREATED
692syn keyword baanConstant OLESVR.OBJECT.DESTROYED
693syn keyword baanConstant OS_OS400
694syn keyword baanConstant OS_UNIX
695syn keyword baanConstant OS_WINDOWS_95
696syn keyword baanConstant OS_WINDOWS_NT
697syn keyword baanConstant PERM.DELETE
698syn keyword baanConstant PERM.MODIFY
699syn keyword baanConstant PERM.READ
700syn keyword baanConstant PERM.UNKNOWN
701syn keyword baanConstant PERM.WRITE
702syn keyword baanConstant PI
703syn keyword baanConstant PREV.FRM
704syn keyword baanConstant PREV.SET
705syn keyword baanConstant PREV.VIEW
706syn keyword baanConstant PRINT.DATA
707syn keyword baanConstant PROGRESS.BAR
708syn keyword baanConstant PROGRESS.CANCEL
709syn keyword baanConstant PROGRESS.NOAUTODESTROY
710syn keyword baanConstant PROGRESS.RESIZEABLE
711syn keyword baanConstant PROGRESS.STOP
712syn keyword baanConstant PROGRESS.TIMER
713syn keyword baanConstant PRTCL
714syn keyword baanConstant PRTCL.END.TRACE
715syn keyword baanConstant PRTCL.EXECUTE
716syn keyword baanConstant PRTCL.FIELD.OPTION
717syn keyword baanConstant PRTCL.GET.DATA
718syn keyword baanConstant PRTCL.GET.DATA.ANSWER
719syn keyword baanConstant PRTCL.MASK
720syn keyword baanConstant PRTCL.PUT.DATA
721syn keyword baanConstant PRTCL.START.TRACE
722syn keyword baanConstant PRTCL.UNKNOWN
723syn keyword baanConstant PSMAXSIZE
724syn keyword baanConstant QSS.EQLE
725syn keyword baanConstant QSS.EQUAL
726syn keyword baanConstant QSS.FIRST
727syn keyword baanConstant QSS.GT
728syn keyword baanConstant QSS.GTEQ
729syn keyword baanConstant QSS.LAST
730syn keyword baanConstant QSS.LESS
731syn keyword baanConstant QSS.LOOKUP.FOR.STRUCT
732syn keyword baanConstant QSS.NE
733syn keyword baanConstant QSS.SRC.DUPL.ALLOWED
734syn keyword baanConstant QSS.SRC.IS.SORTED
735syn keyword baanConstant RDI.CENTER
736syn keyword baanConstant RDI.LEFT
737syn keyword baanConstant RDI.LOWER
738syn keyword baanConstant RDI.NONE
739syn keyword baanConstant RDI.RIGHT
740syn keyword baanConstant RDI.UPPER
741syn keyword baanConstant RECOVER.SET
742syn keyword baanConstant RESIZE.FRM
743syn keyword baanConstant RESTART.INPUT
744syn keyword baanConstant ROTATE.CURR
745syn keyword baanConstant RP_IPCINFO_FLAG
746syn keyword baanConstant RP_INPROC
747syn keyword baanConstant RP_NOWAIT
748syn keyword baanConstant RP_NOWAIT_WITH_EVENT
749syn keyword baanConstant RP_WAIT
750syn keyword baanConstant RUN.JOB
751syn keyword baanConstant SAVE.DEFAULTS
752syn keyword baanConstant SBADJUST
753syn keyword baanConstant SBCONFIRM
754syn keyword baanConstant SBDOWN
755syn keyword baanConstant SBEND
756syn keyword baanConstant SBHOME
757syn keyword baanConstant SBMOVE
758syn keyword baanConstant SBPGDOWN
759syn keyword baanConstant SBPGUP
760syn keyword baanConstant SBPRESS
761syn keyword baanConstant SBRELEASE
762syn keyword baanConstant SBUP
763syn keyword baanConstant SEQ_F_R_LCK
764syn keyword baanConstant SEQ_F_W_LCK
765syn keyword baanConstant SEQ_R_LCK
766syn keyword baanConstant SEQ_W_LCK
767syn keyword baanConstant SESSION_NO_PERMISSION
768syn keyword baanConstant SESSION_DELETE_PERMISSION
769syn keyword baanConstant SESSION_INSERT_PERMISSION
770syn keyword baanConstant SESSION_MODIFY_PERMISSION
771syn keyword baanConstant SESSION_DISPLAY_PERMISSION
772syn keyword baanConstant SESSION_PRINT_PERMISSION
773syn keyword baanConstant SINGLE_OCC
774syn keyword baanConstant ST.ADD.SET
775syn keyword baanConstant ST.BITSET
776syn keyword baanConstant ST.BITSET.ZOOM
777syn keyword baanConstant ST.BRP.RUN
778syn keyword baanConstant ST.BRP.SEND
779syn keyword baanConstant ST.DEF.FIND
780syn keyword baanConstant ST.DOUBLE
781syn keyword baanConstant ST.DOUBLE.ZOOM
782syn keyword baanConstant ST.DUPL.OCCUR
783syn keyword baanConstant ST.ENUM
784syn keyword baanConstant ST.ENUM.ZOOM
785syn keyword baanConstant ST.FIND.DATA
786syn keyword baanConstant ST.FIRST.SET
787syn keyword baanConstant ST.LAST.SET
788syn keyword baanConstant ST.MARK.DELETE
789syn keyword baanConstant ST.MARK.OCCUR
790syn keyword baanConstant ST.MB
791syn keyword baanConstant ST.MB.ZOOM
792syn keyword baanConstant ST.MODIFY.SET
793syn keyword baanConstant ST.MULTI.2
794syn keyword baanConstant ST.MULTI.3
795syn keyword baanConstant ST.NUM.ZOOM
796syn keyword baanConstant ST.NUMERIC
797syn keyword baanConstant ST.PROG.BUSY
798syn keyword baanConstant ST.SINGLE.1
799syn keyword baanConstant ST.SINGLE.3
800syn keyword baanConstant ST.SINGLE.4
801syn keyword baanConstant ST.SORT
802syn keyword baanConstant ST.STRING
803syn keyword baanConstant ST.STRING.ZOOM
804syn keyword baanConstant ST.TEXT
805syn keyword baanConstant ST.TEXT.ZOOM
806syn keyword baanConstant ST.TIME
807syn keyword baanConstant ST.TIME.ZOOM
808syn keyword baanConstant ST.UPDATE.DB
809syn keyword baanConstant ST.ZOOM
810syn keyword baanConstant START.CHART
811syn keyword baanConstant START.QUERY
812syn keyword baanConstant START.SET
813syn keyword baanConstant STAT_EXECUTABLE
814syn keyword baanConstant STAT_READABLE
815syn keyword baanConstant STAT_WRITEABLE
816syn keyword baanConstant SUBDAL
817syn keyword baanConstant TDIR
818syn keyword baanConstant TEXT.MANAGER
819syn keyword baanConstant TFILE
820syn keyword baanConstant TRUE
821syn keyword baanConstant UPDATE.DB
822syn keyword baanConstant USER.0
823syn keyword baanConstant USER.1
824syn keyword baanConstant USER.2
825syn keyword baanConstant USER.3
826syn keyword baanConstant USER.4
827syn keyword baanConstant USER.5
828syn keyword baanConstant USER.6
829syn keyword baanConstant USER.7
830syn keyword baanConstant USER.8
831syn keyword baanConstant USER.9
832syn keyword baanConstant WINDOW.DIALOG
833syn keyword baanConstant WINDOW.LIST
834syn keyword baanConstant WINDOW.MMTCONTROLLER
835syn keyword baanConstant WINDOW.MMTSATELLITE
836syn keyword baanConstant WINDOW.MODAL.MENU
837syn keyword baanConstant WINDOW.MODELESS.MENU
838syn keyword baanConstant WINDOW.NONE
839syn keyword baanConstant WINDOW.PARAMETER
840syn keyword baanConstant WINDOW.SYNCHRONIZED
841syn keyword baanConstant WINDOW.WIZARD
842syn keyword baanConstant WITH.ROLLBACK
843syn keyword baanConstant WU.DLL
844syn keyword baanConstant WU.DOMA
845syn keyword baanConstant WU.FLDN
846syn keyword baanConstant WU.LANGOPT
847syn keyword baanConstant WU.MESS
848syn keyword baanConstant WU.QUES
849syn keyword baanConstant WU.SESS
850syn keyword baanConstant WU.TABL
851syn keyword baanConstant XML_DATA
852syn keyword baanConstant XML_DTD
853syn keyword baanConstant XML_ELEMENT
854syn keyword baanConstant XML_PI
855syn keyword baanConstant Z.AUTOACCEPT
856syn keyword baanConstant Z.AUTOZOOM
857syn keyword baanConstant Z.MENU
858syn keyword baanConstant Z.SESSION
859syn keyword baanConstant ZOOM
860
861
862"************************************* 4GL ************************************"
863" Program section
864syn match baan4glh "declaration:"
865syn match baan4glh "functions:"
866syn match baan4glh "before\.program:"
867syn match baan4glh "on\.error:"
868syn match baan4glh "after\.program:"
869syn match baan4glh "after\.update.db.commit:"
870syn match baan4glh "before\.display\.object:"
871
872" Form section
873syn match baan4glh "form\.\d\+:"
874syn match baan4glh "form\.all:"
875syn match baan4glh "form\.other:"
876syn match baan4gl  "init\.form:"
877syn match baan4gl  "before\.form:"
878syn match baan4gl  "after\.form:"
879
880" Choice section
881syn match baan4glh "choice\.start\.set:"
882syn match baan4glh "choice\.first\.view:"
883syn match baan4glh "choice\.next\.view:"
884syn match baan4glh "choice\.prev\.view:"
885syn match baan4glh "choice\.last\.view:"
886syn match baan4glh "choice\.def\.find:"
887syn match baan4glh "choice\.find\.data:"
888syn match baan4glh "choice\.first\.set:"
889syn match baan4glh "choice\.next\.set:"
890syn match baan4glh "choice\.display\.set:"
891syn match baan4glh "choice\.prev\.set:"
892syn match baan4glh "choice\.rotate\.curr:"
893syn match baan4glh "choice\.last\.set:"
894syn match baan4glh "choice\.add\.set:"
895syn match baan4glh "choice\.update\.db:"
896syn match baan4glh "choice\.dupl\.occur:"
897syn match baan4glh "choice\.recover\.set:"
898syn match baan4glh "choice\.mark\.delete:"
899syn match baan4glh "choice\.mark\.occur:"
900syn match baan4glh "choice\.change\.order:"
901syn match baan4glh "choice\.modify\.set:"
902syn match baan4glh "choice\.restart\.input:"
903syn match baan4glh "choice\.print\.data:"
904syn match baan4glh "choice\.create\.job:"
905syn match baan4glh "choice\.form\.tab\.change:"
906syn match baan4glh "choice\.first\.frm:"
907syn match baan4glh "choice\.next\.frm:"
908syn match baan4glh "choice\.prev\.frm:"
909syn match baan4glh "choice\.last\.frm:"
910syn match baan4glh "choice\.resize\.frm:"
911syn match baan4glh "choice\.cmd\.options:"
912syn match baan4glh "choice\.zoom:"
913syn match baan4glh "choice\.interrupt:"
914syn match baan4glh "choice\.end\.program:"
915syn match baan4glh "choice\.abort\.program:"
916syn match baan4glh "choice\.cont\.process:"
917syn match baan4glh "choice\.text\.manager:"
918syn match baan4glh "choice\.run\.job:"
919syn match baan4glh "choice\.global\.delete:"
920syn match baan4glh "choice\.global\.copy:"
921syn match baan4glh "choice\.save\.defaults"
922syn match baan4glh "choice\.get\.defaults:"
923syn match baan4glh "choice\.start\.chart:"
924syn match baan4glh "choice\.start\.query:"
925syn match baan4glh "choice\.user\.\d:"
926syn match baan4glh "choice\.ask\.helpinfo:"
927syn match baan4glh "choice\.calculator:"
928syn match baan4glh "choice\.calendar:"
929syn match baan4glh "choice\.bms:"
930syn match baan4glh "choice\.cmd\.whats\.this:"
931syn match baan4glh "choice\.help\.index:"
932syn match baan4gl  "before\.choice:"
933syn match baan4gl  "on\.choice:"
934syn match baan4gl  "after\.choice:"
935
936" Field section
937syn match baan4glh "field\.\l\{5}\d\{3}\.\l\{4,8}\.\=c\=:"
938syn match baan4glh "field\.e\..\+:"
939syn match baan4glh "field\.all:"
940syn match baan4glh "field\.other:"
941syn match baan4gl  "init\.field:"
942syn match baan4gl  "before\.field:"
943syn match baan4gl  "before\.input:"
944syn match baan4gl  "before\.display:"
945syn match baan4gl "selection\.filter:"
946syn match baan4gl  "before\.zoom:"
947syn match baan4gl  "before\.checks:"
948syn match baan4gl  "domain\.error:"
949syn match baan4gl  "ref\.input:"
950syn match baan4gl  "ref\.display:"
951syn match baan4gl  "check\.input:"
952syn match baan4gl  "on\.input:"
953syn match baan4gl  "when\.field\.changes:"
954syn match baan4gl  "after\.zoom:"
955syn match baan4gl  "after\.input:"
956syn match baan4gl  "after\.display:"
957syn match baan4gl  "after\.field:"
958
959" Group section
960syn match baan4glh "group\.\d\+:"
961syn match baan4gl "init\.group:"
962syn match baan4gl "before\.group:"
963syn match baan4gl "after\.group:"
964
965" Zoom section
966syn match baan4glh "zoom\.from\..\+:"
967syn match baan4gl "on\.entry:"
968syn match baan4gl "on\.exit:"
969
970" Main table section
971syn match baan4glh "main\.table\.io:"
972syn match baan4gl "before\.read:"
973syn match baan4gl "after\.read:"
974syn match baan4gl "before\.write:"
975syn match baan4gl "after\.write:"
976syn match baan4gl "after\.skip\.write:"
977syn match baan4gl "before\.rewrite:"
978syn match baan4gl "after\.rewrite:"
979syn match baan4gl "after\.skip\.rewrite:"
980syn match baan4gl "before\.delete:"
981syn match baan4gl "after\.delete:"
982syn match baan4gl "after\.skip\.delete:"
983syn match baan4gl "read\.view:"
984
985"**************************** Dal Hooks ********************************
986syn keyword baanDalHook after.abort.transaction after.commit.transaction after.destroy.object 
987syn keyword baanDalHook after.change.object after.get.object after.new.object after.save.object before.change.object
988syn keyword baanDalHook before.destroy.object before.get.object before.new.object before.open.object.set before.save.object
989syn keyword baanDalHook method.is.allowed set.object.defaults
990
991syn match baanDalHook "\l\{5}\d\{3}\.\l\{4,8}\.check"
992syn match baanDalHook "\l\{5}\d\{3}\.\l\{4,8}\.is.valid"
993syn match baanDalHook "\l\{5}\d\{3}\.\l\{4,8}\.is.applicable"
994syn match baanDalHook "\l\{5}\d\{3}\.\l\{4,8}\.is.never.applicable"
995syn match baanDalHook "\l\{5}\d\{3}\.\l\{4,8}\.is.derived"
996syn match baanDalHook "\l\{5}\d\{3}\.\l\{4,8}\.is.readonly"
997syn match baanDalHook "\l\{5}\d\{3}\.\l\{4,8}\.is.mandatory"
998syn match baanDalHook "\l\{5}\d\{3}\.\l\{4,8}\.make.valid"
999syn match baanDalHook "\l\{5}\d\{3}\.\l\{4,8}\.update"
1000syn match baanDalHook "\l\{5}\d\{3}\.\l\{4,8}\..*\.is.applicable"
1001
1002
1003"number without a dot."
1004syn match  baanNumber		"\<\-\=\d\+\>"
1005"number with dot"
1006syn match  baanNumber		"\<\-\=\d\+\.\d*\>"
1007"number starting with a dot"
1008syn match  baanNumber		"\<\-\=\.\d\+\>"
1009
1010" String Error does not work correct with vim 6.0
1011syn match   baanOpenStringError +^[^^"]+ display contained excludenl
1012syn region  baanString	start=+"+  skip=+""+  end=+"+ end=+^[^^]+ contains=baanOpenStringError keepend
1013
1014" Comment"
1015syn match   baanComment "|$"
1016syn match   baanComment "|.$"
1017syn match   baanComment "|[^ ]"
1018syn match   baanComment	"|[^#].*[^ ]"
1019syn match   baanCommenth "^|#lra.*$"
1020syn match   baanCommenth "^|#mdm.*$"
1021syn match   baanCommenth "^|#[0-9][0-9][0-9][0-9][0-9].*$"
1022syn match   baanCommenth "^|#N\=o\=Include.*$"
1023" Oldcode"
1024syn match   baanUncommented	"^|[^*#].*[^ ]"
1025" DLL section
1026" SpaceError"
1027syn match    baanSpaces	" "
1028syn match    baanSpaceError	"\s*$"
1029syn match    baanSpaceError	"        "
1030
1031" Baan error"
1032
1033if exists("baan_code_stds") && baan_code_stds
1034syn match  BaanError	"^\s*i\..*=\s*\(\k\|\"\)*\s*$"		"assignment of an input var"
1035syn match  BaanError	"^\s*ref.*\s[ilse]\..*$"		" ref variable defined with i, l, e and s"
1036syn match  BaanError	"^\s*const.*\s[olse]\..*$"		" const variable defined with o, l, e and s"
1037syn match  BaanError	"^\s*static.*\s\(i\|g\|l\|o\|io\)\..*$"	" static defined without s."
1038syn match  BaanError	"^\s*\(domain\s\|long\s\|string\s\).*\so\.\k*[,)]"	" ref variable without ref"
1039syn match  BaanError	"^\s*\(domain\s\|long\s\|string\s\).*\se\.\k*[,)]"	" 'e.' variable without extern"
1040syn match  BaanError	"^\s*i\..*,\s*|\s*ref.*$"	" 
1041endif
1042
1043"**************************** bshell functions ********************************
1044syn match   baanBshell "\<shiftl\$"
1045syn match   baanBshell "\<shiftr\$"
1046syn match   baanBshell "\<shiftc\$"
1047syn match   baanBshell "\<strip\$"
1048syn match   baanBshell "\<tolower\$"
1049syn match   baanBshell "\<toupper\$"
1050syn keyword baanBshell isdigit
1051syn keyword baanBshell isspace
1052syn match   baanBshell "\<chr\$"
1053syn keyword baanBshell len.in.bytes
1054syn keyword baanBshell rpos
1055syn match   baanBshell "\<sprintf\$"
1056syn match   baanBshell "\<vsprintf\$"
1057syn match   baanBshell "\<concat\$"
1058syn keyword baanBshell gregdate
1059syn match   baanBshell "\<w.to.dat\$"
1060syn keyword baanBshell ttyname
1061syn match   baanBshell "\<ttyname\$"
1062syn match   baanBshell "\<creat.tmp.file\$"
1063syn match   baanBshell "\<string.set\$"
1064syn keyword baanBshell string.scan
1065syn keyword baanBshell not.fixed
1066syn keyword baanBshell dummy
1067syn keyword baanBshell alloc.mem
1068syn keyword baanBshell free.mem
1069syn keyword baanBshell copy.mem
1070syn keyword baanBshell cmp.mem
1071syn keyword baanBshell set.mem
1072syn keyword baanBshell num.to.date
1073syn keyword baanBshell date.to.num
1074syn keyword baanBshell num.to.week
1075syn keyword baanBshell week.to.num
1076syn match   baanBshell "\<num.to.date\$"
1077syn keyword baanBshell expr.compile
1078syn keyword baanBshell l.expr
1079syn keyword baanBshell d.expr
1080syn match   baanBshell "\<s.expr\$"
1081syn keyword baanBshell expr.free
1082syn keyword baanBshell compnr.check
1083syn match   baanBshell "\<bse.dir\$"
1084syn match   baanBshell "\<bse.tmp.dir\$"
1085syn match   baanBshell "\<bse.release\$"
1086syn match   baanBshell "\<bse.portset\$"
1087syn match   baanBshell "\<getenv\$"
1088syn keyword baanBshell base.extern
1089syn keyword baanBshell at.base
1090syn keyword baanBshell get.compnr
1091syn keyword baanBshell base.next
1092syn keyword baanBshell get.argc
1093syn keyword baanBshell get.long.arg
1094syn keyword baanBshell get.double.arg
1095syn keyword baanBshell get.string.arg
1096syn keyword baanBshell get.arg.type
1097syn keyword baanBshell put.long.arg
1098syn keyword baanBshell put.double.arg
1099syn keyword baanBshell put.string.arg
1100syn keyword baanBshell setenv
1101syn keyword baanBshell cmp.password
1102syn match   baanBshell "\<crypt.password\$"
1103syn keyword baanBshell is.password.ok
1104syn keyword baanBshell block.cipher.encrypt
1105syn keyword baanBshell block.cipher.decrypt
1106syn keyword baanBshell encrypt.user.password
1107syn keyword baanBshell verify.user.password
1108syn keyword baanBshell asm.put.instance.id
1109syn match   baanBshell "\<date.to.inputstr\$"
1110syn keyword baanBshell inputstr.to.date
1111syn match   baanBshell "\<hostname\$"
1112syn keyword baanBshell base64.encode
1113syn keyword baanBshell base64.decode
1114syn keyword baanBshell sha.create
1115syn keyword baanBshell sha.initialize
1116syn keyword baanBshell sha.add.data
1117syn keyword baanBshell sha.compute.output
1118syn keyword baanBshell sha.destroy
1119syn match   baanBshell "\<uuid.generate\$"
1120syn match   baanBshell "\<uuid.format\$"
1121syn keyword baanBshell resolve.labels.by.lookupkey
1122syn keyword baanBshell resolve.labels.by.codepair
1123syn keyword baanBshell lookupkey.hash
1124syn keyword baanBshell lookupkey.unhash
1125syn match   baanBshell "\<mb.long.to.str\$"
1126syn keyword baanBshell mb.width
1127syn match   baanBshell "\<mb.localename\$"
1128syn match   baanBshell "\<mb.tss.clean\$"
1129syn match   baanBshell "\<mb.ext.clean\$"
1130syn match   baanBshell "\<mb.import\$"
1131syn match   baanBshell "\<mb.export\$"
1132syn keyword baanBshell mb.import.raw
1133syn keyword baanBshell mb.export.raw
1134syn keyword baanBshell uni.import
1135syn keyword baanBshell uni.export
1136syn keyword baanBshell utf8.import
1137syn keyword baanBshell utf8.export
1138syn keyword baanBshell mb.strpos
1139syn keyword baanBshell mb.scrpos
1140syn keyword baanBshell mb.char
1141syn keyword baanBshell mb.type
1142syn match   baanBshell "\<mb.cast\$"
1143syn match   baanBshell "\<mb.cast.to.str\$"
1144syn keyword baanBshell mb.display
1145syn keyword baanBshell mb.isbidi
1146syn keyword baanBshell mb.isbidi.language
1147syn match   baanBshell "\<mb.rev\$"
1148syn keyword baanBshell mb.hasbidi
1149syn keyword baanBshell mb.kb.lang
1150syn keyword baanBshell mb.locale.info
1151syn keyword baanBshell mb.locale.enumerate
1152syn keyword baanBshell mb.nsets
1153syn keyword baanBshell mb.set.info
1154syn keyword baanBshell mb.char.info
1155syn keyword baanBshell key.compare
1156syn keyword baanBshell set.fields.default
1157syn keyword baanBshell table.round
1158syn keyword baanBshell halfadj
1159syn keyword baanBshell round
1160syn keyword baanBshell format.round
1161syn match   baanBshell "\<edit\$"
1162syn match   baanBshell "\<str\$"
1163syn keyword baanBshell lval
1164syn keyword baanBshell acos
1165syn keyword baanBshell asin
1166syn keyword baanBshell atan
1167syn keyword baanBshell atan2
1168syn keyword baanBshell cosh
1169syn keyword baanBshell sinh
1170syn keyword baanBshell tanh
1171syn keyword baanBshell log10
1172syn keyword baanBshell sqrt
1173syn keyword baanBshell lpow
1174syn keyword baanBshell random
1175syn keyword baanBshell srand
1176syn keyword baanBshell rnd.init
1177syn keyword baanBshell rnd.i
1178syn keyword baanBshell rnd.d
1179syn keyword baanBshell double.cmp
1180syn match   baanBshell "\<tab\$"
1181syn keyword baanBshell aux.open
1182syn keyword baanBshell aux.print
1183syn keyword baanBshell aux.close
1184syn keyword baanBshell refresh
1185syn keyword baanBshell cl.screen
1186syn match   baanBshell "\<delch\$"
1187syn match   baanBshell "\<deleteln\$"
1188syn match   baanBshell "\<insch\$"
1189syn match   baanBshell "\<insertln\$"
1190syn keyword baanBshell change.window
1191syn keyword baanBshell data.input
1192syn keyword baanBshell del.window
1193syn keyword baanBshell frame.window
1194syn keyword baanBshell new.window
1195syn keyword baanBshell window.size
1196syn keyword baanBshell move.window
1197syn keyword baanBshell resize.window
1198syn keyword baanBshell get.row
1199syn keyword baanBshell get.col
1200syn keyword baanBshell get.cp
1201syn keyword baanBshell map.window
1202syn keyword baanBshell unmap.window
1203syn keyword baanBshell set.bg.color
1204syn keyword baanBshell set.fg.color
1205syn keyword baanBshell no.scroll
1206syn keyword baanBshell scroll
1207syn keyword baanBshell cursor.on
1208syn keyword baanBshell cursor.off
1209syn keyword baanBshell sub.window
1210syn keyword baanBshell current.window
1211syn match   baanBshell "\<keyin\$"
1212syn keyword baanBshell dump.screen
1213syn keyword baanBshell first.window
1214syn keyword baanBshell last.window
1215syn keyword baanBshell free.window
1216syn keyword baanBshell #input
1217syn keyword baanBshell #output
1218syn keyword baanBshell wrebuild
1219syn keyword baanBshell select.event.input
1220syn keyword baanBshell next.event
1221syn keyword baanBshell peek.event
1222syn keyword baanBshell pending.events
1223syn keyword baanBshell send.event
1224syn keyword baanBshell send.signal
1225syn keyword baanBshell get.display.data
1226syn keyword baanBshell open.display
1227syn keyword baanBshell link.display
1228syn keyword baanBshell link.keyboard
1229syn keyword baanBshell unlink.keyboard
1230syn keyword baanBshell close.display
1231syn keyword baanBshell current.display
1232syn keyword baanBshell change.display
1233syn keyword baanBshell sync.display.server
1234syn match   baanBshell "\<get.class.name\$"
1235syn keyword baanBshell create.mwindow
1236syn keyword baanBshell current.mwindow
1237syn keyword baanBshell change.mwindow
1238syn keyword baanBshell set.mwindow.title
1239syn keyword baanBshell set.mwindow.size
1240syn keyword baanBshell set.mwindow.mode
1241syn keyword baanBshell get.mwindow.mode
1242syn keyword baanBshell destroy.mwindow
1243syn keyword baanBshell dialog
1244syn keyword baanBshell get.mwindow.size
1245syn keyword baanBshell create.bar
1246syn keyword baanBshell current.bar
1247syn keyword baanBshell change.bar
1248syn keyword baanBshell change.bar.attr
1249syn keyword baanBshell destroy.bar
1250syn keyword baanBshell create.bar.button
1251syn keyword baanBshell change.bar.item.attr
1252syn keyword baanBshell destroy.bar.item
1253syn keyword baanBshell create.object
1254syn keyword baanBshell change.object
1255syn keyword baanBshell get.object
1256syn keyword baanBshell query.object
1257syn keyword baanBshell destroy.object
1258syn keyword baanBshell get.event.attribute
1259syn keyword baanBshell create.sub.object
1260syn keyword baanBshell create.sub.object.by.id
1261syn keyword baanBshell change.sub.object
1262syn keyword baanBshell get.sub.object
1263syn keyword baanBshell query.sub.object
1264syn keyword baanBshell destroy.sub.object
1265syn keyword baanBshell create.arglist
1266syn keyword baanBshell add.arg
1267syn keyword baanBshell add.ref.arg
1268syn keyword baanBshell delete.arg
1269syn keyword baanBshell print.arglist
1270syn keyword baanBshell destroy.arglist
1271syn keyword baanBshell get.object.class.list
1272syn keyword baanBshell get.object.class
1273syn keyword baanBshell get.sub.object.class
1274syn keyword baanBshell get.resource.class
1275syn keyword baanBshell get.event.class
1276syn keyword baanBshell get.pixmap.info
1277syn keyword baanBshell compress.pixmap
1278syn keyword baanBshell decompress.pixmap
1279syn keyword baanBshell get.window.attrs
1280syn keyword baanBshell get.mwindow.attrs
1281syn keyword baanBshell create.gc
1282syn keyword baanBshell change.gc
1283syn keyword baanBshell get.gc
1284syn keyword baanBshell destroy.gc
1285syn keyword baanBshell load.font
1286syn keyword baanBshell query.font
1287syn keyword baanBshell free.font
1288syn keyword baanBshell get.typeface
1289syn keyword baanBshell list.fonts
1290syn keyword baanBshell text.extends
1291syn keyword baanBshell inherit.object
1292syn keyword baanBshell create.gtext
1293syn keyword baanBshell create.line
1294syn keyword baanBshell create.polyline
1295syn keyword baanBshell create.polygon
1296syn keyword baanBshell create.rectangle
1297syn keyword baanBshell create.arc
1298syn keyword baanBshell create.pie
1299syn keyword baanBshell create.composite
1300syn keyword baanBshell create.image
1301syn keyword baanBshell change.gtext
1302syn keyword baanBshell change.gtext.label
1303syn keyword baanBshell change.line
1304syn keyword baanBshell change.polyline
1305syn keyword baanBshell change.polygon
1306syn keyword baanBshell change.rectangle
1307syn keyword baanBshell change.arc
1308syn keyword baanBshell change.pie
1309syn keyword baanBshell get.gtext
1310syn keyword baanBshell get.gtext.label
1311syn keyword baanBshell get.line
1312syn keyword baanBshell get.polyline
1313syn keyword baanBshell get.polygon
1314syn keyword baanBshell get.rectangle
1315syn keyword baanBshell get.arc
1316syn keyword baanBshell get.pie
1317syn keyword baanBshell get.composite
1318syn keyword baanBshell get.image
1319syn keyword baanBshell move.gpart
1320syn keyword baanBshell shift.gpart
1321syn keyword baanBshell which.gpart
1322syn keyword baanBshell which.gparts
1323syn keyword baanBshell change.gpart.gc
1324syn keyword baanBshell get.gpart.gc
1325syn keyword baanBshell destroy.gpart
1326syn keyword baanBshell destroy.composite
1327syn keyword baanBshell first.gpart
1328syn keyword baanBshell last.gpart
1329syn keyword baanBshell next.gpart
1330syn keyword baanBshell prev.gpart
1331syn keyword baanBshell change.gpart.attr
1332syn keyword baanBshell get.gpart.attr
1333syn keyword baanBshell get.gpart
1334syn keyword baanBshell get.gpart.box
1335syn keyword baanBshell resize.gpart.box
1336syn keyword baanBshell move.gpart.box
1337syn keyword baanBshell activate
1338syn keyword baanBshell reactivate
1339syn keyword baanBshell act.and.sleep
1340syn keyword baanBshell sleep
1341syn match   baanBshell "\<receive.bucket\$"
1342syn keyword baanBshell send.bucket
1343syn keyword baanBshell send.wait
1344syn keyword baanBshell bms.send
1345syn match   baanBshell "\<bms.receive\$"
1346syn keyword baanBshell bms.receive.buffer
1347syn keyword baanBshell bms.add.mask
1348syn keyword baanBshell bms.delete.mask
1349syn keyword baanBshell bms.init
1350syn keyword baanBshell wait.and.activate
1351syn keyword baanBshell abort
1352syn keyword baanBshell kill
1353syn keyword baanBshell shell
1354syn match   baanBshell "\<argv\$"
1355syn keyword baanBshell argc
1356syn keyword baanBshell get.var
1357syn keyword baanBshell put.var
1358syn keyword baanBshell get.ref.var
1359syn keyword baanBshell put.ref.var
1360syn keyword baanBshell get.indexed.var
1361syn keyword baanBshell put.indexed.var
1362syn keyword baanBshell on.change.check
1363syn keyword baanBshell off.change.check
1364syn keyword baanBshell changed
1365syn keyword baanBshell not.curr
1366syn keyword baanBshell handle.report.pool
1367syn keyword baanBshell get.symbol
1368syn keyword baanBshell suspend
1369syn keyword baanBshell set.timer
1370syn keyword baanBshell set.alarm
1371syn keyword baanBshell kill.timer
1372syn keyword baanBshell pstat
1373syn keyword baanBshell oipstat
1374syn keyword baanBshell obj_in_core
1375syn keyword baanBshell renice
1376syn keyword baanBshell kill.pgrp
1377syn keyword baanBshell set.pgrp
1378syn keyword baanBshell get.pgrp
1379syn keyword baanBshell grab.mwindow
1380syn keyword baanBshell signal
1381syn keyword baanBshell ptrace
1382syn keyword baanBshell link.on.stack
1383syn match   baanBshell "\<zoom.to\$"
1384syn keyword baanBshell retry.point
1385syn keyword baanBshell jump.retry.point
1386syn keyword baanBshell retry.level
1387syn keyword baanBshell get.bw.hostname
1388syn keyword baanBshell exit
1389syn match   baanBshell "\<dte\$"
1390syn keyword baanBshell times.on
1391syn keyword baanBshell times.off
1392syn keyword baanBshell times.close
1393syn keyword baanBshell times.total
1394syn keyword baanBshell times.lines
1395syn keyword baanBshell date.num
1396syn keyword baanBshell time.num
1397syn keyword baanBshell date.time.utc
1398syn keyword baanBshell utc.to.local
1399syn keyword baanBshell local.to.utc
1400syn keyword baanBshell input.field
1401syn keyword baanBshell output.field
1402syn keyword baanBshell key.to.option
1403syn keyword baanBshell option.to.key
1404syn keyword baanBshell get.choice.data
1405syn keyword baanBshell reset.zoom.info
1406syn keyword baanBshell next.field
1407syn keyword baanBshell print.form
1408syn keyword baanBshell set.field.blank
1409syn keyword baanBshell read.form
1410syn keyword baanBshell read.fast.form
1411syn keyword baanBshell change.form.field
1412syn keyword baanBshell copy.form.field
1413syn keyword baanBshell delete.form.field
1414syn keyword baanBshell iget.field.attr
1415syn keyword baanBshell sget.field.attr
1416syn keyword baanBshell menu.control
1417syn keyword baanBshell wait
1418syn match baanBshell "\<bms.peek\$"
1419syn keyword baanBshell create.menu
1420syn keyword baanBshell refresh.bar.menu
1421syn keyword baanBshell load.menu
1422syn keyword baanBshell current.menu
1423syn keyword baanBshell change.menu
1424syn keyword baanBshell popup.menu
1425syn keyword baanBshell set.menu
1426syn keyword baanBshell change.menu.attr
1427syn keyword baanBshell destroy.menu
1428syn keyword baanBshell create.menu.button
1429syn keyword baanBshell create.cascade.button
1430syn keyword baanBshell change.menu.item.name
1431syn keyword baanBshell change.cascade.menu
1432syn keyword baanBshell change.menu.item.attr
1433syn keyword baanBshell get.cascade.menu
1434syn keyword baanBshell destroy.menu.item
1435syn keyword baanBshell form.control
1436syn match   baanBshell "\<form.text\$"
1437syn keyword baanBshell status.on
1438syn keyword baanBshell status.off
1439syn keyword baanBshell status.mess
1440syn keyword baanBshell status.field
1441syn match   baanBshell "\<enum.descr\$"
1442syn keyword baanBshell mark.occurrence
1443syn keyword baanBshell start.mark
1444syn keyword baanBshell end.mark
1445syn keyword baanBshell get.attrs
1446syn keyword baanBshell put.attrs
1447syn keyword baanBshell act.zoom
1448syn keyword baanBshell init.first
1449syn keyword baanBshell init.last
1450syn keyword baanBshell init.next
1451syn keyword baanBshell init.prev
1452syn keyword baanBshell set.max
1453syn keyword baanBshell set.min
1454syn keyword baanBshell set.fmax
1455syn keyword baanBshell set.fmin
1456syn keyword baanBshell print.const
1457syn keyword baanBshell is.option.on
1458syn keyword baanBshell brp.build
1459syn keyword baanBshell brp.field
1460syn keyword baanBshell pathname
1461syn keyword baanBshell file.stat
1462syn keyword baanBshell file.cp
1463syn keyword baanBshell file.mv
1464syn keyword baanBshell file.rm
1465syn keyword baanBshell file.chown
1466syn keyword baanBshell file.chmod
1467syn keyword baanBshell stat.info
1468syn keyword baanBshell disk.info
1469syn keyword baanBshell mkdir
1470syn keyword baanBshell rmdir
1471syn keyword baanBshell open.message
1472syn keyword baanBshell send.message
1473syn keyword baanBshell recv.message
1474syn keyword baanBshell close.message
1475syn keyword baanBshell store.byte
1476syn keyword baanBshell store.short
1477syn keyword baanBshell store.long
1478syn keyword baanBshell store.float
1479syn keyword baanBshell store.double
1480syn keyword baanBshell load.byte
1481syn keyword baanBshell load.short
1482syn keyword baanBshell load.long
1483syn keyword baanBshell load.float
1484syn keyword baanBshell load.double
1485syn keyword baanBshell bit.and
1486syn keyword baanBshell bit.or
1487syn keyword baanBshell bit.exor
1488syn keyword baanBshell bit.inv
1489syn keyword baanBshell bit.in
1490syn keyword baanBshell bit.shiftl
1491syn keyword baanBshell bit.shiftr
1492syn keyword baanBshell check.domain
1493syn keyword baanBshell check.all.domain
1494syn keyword baanBshell seq.clearerr
1495syn keyword baanBshell seq.eof
1496syn keyword baanBshell seq.error
1497syn keyword baanBshell seq.open
1498syn keyword baanBshell seq.close
1499syn keyword baanBshell seq.flush
1500syn keyword baanBshell seq.rewind
1501syn keyword baanBshell seq.tell
1502syn keyword baanBshell seq.read
1503syn keyword baanBshell seq.write
1504syn match   baanBshell "\<seq.getc\$"
1505syn match   baanBshell "\<seq.putc\$"
1506syn match   baanBshell "\<seq.ungetc\$"
1507syn keyword baanBshell seq.skip
1508syn keyword baanBshell seq.seek
1509syn keyword baanBshell seq.gets
1510syn keyword baanBshell seq.puts
1511syn keyword baanBshell seq.unlink
1512syn keyword baanBshell seq.spool.line
1513syn keyword baanBshell seq.r.long
1514syn keyword baanBshell seq.w.long
1515syn keyword baanBshell seq.r.short
1516syn keyword baanBshell seq.w.short
1517syn keyword baanBshell seq.lock
1518syn keyword baanBshell seq.unlock
1519syn keyword baanBshell seq.islocked
1520syn keyword baanBshell pipe.open
1521syn keyword baanBshell pipe.close
1522syn keyword baanBshell pipe.flush
1523syn keyword baanBshell pipe.gets
1524syn keyword baanBshell pipe.puts
1525syn keyword baanBshell pipe.read
1526syn keyword baanBshell pipe.write
1527syn keyword baanBshell pipe.clearerr
1528syn keyword baanBshell pipe.eof
1529syn keyword baanBshell pipe.error
1530syn keyword baanBshell sock.connect
1531syn keyword baanBshell sock.listen
1532syn keyword baanBshell sock.accept
1533syn keyword baanBshell sock.recv
1534syn keyword baanBshell sock.send
1535syn keyword baanBshell sock.flush
1536syn keyword baanBshell sock.close
1537syn keyword baanBshell sock.inherit
1538syn keyword baanBshell sock.clearerr
1539syn keyword baanBshell sock.eof
1540syn keyword baanBshell sock.error
1541syn keyword baanBshell get.system.info
1542syn keyword baanBshell get.db.count
1543syn keyword baanBshell get.db.system.info
1544syn keyword baanBshell path.is.absolute
1545syn keyword baanBshell make.path.absolute
1546syn keyword baanBshell fstat.info
1547syn keyword baanBshell dir.open
1548syn keyword baanBshell dir.open.tree
1549syn keyword baanBshell dir.close
1550syn keyword baanBshell dir.entry
1551syn keyword baanBshell dir.rewind
1552syn keyword baanBshell ims.clearerr
1553syn keyword baanBshell ims.eof
1554syn keyword baanBshell ims.error
1555syn keyword baanBshell ims.close
1556syn keyword baanBshell ims.flush
1557syn keyword baanBshell ims.rewind
1558syn keyword baanBshell ims.tell
1559syn keyword baanBshell ims.read
1560syn keyword baanBshell ims.write
1561syn match   baanBshell "\<ims.getc\$"
1562syn match   baanBshell "\<ims.putc\$"
1563syn keyword baanBshell ims.skip
1564syn keyword baanBshell ims.seek
1565syn keyword baanBshell ims.gets
1566syn keyword baanBshell ims.puts
1567syn keyword baanBshell ims.spool.line
1568syn keyword baanBshell ims.r.long
1569syn keyword baanBshell ims.w.long
1570syn keyword baanBshell ims.r.short
1571syn keyword baanBshell ims.w.short
1572syn keyword baanBshell ims.openfba
1573syn keyword baanBshell ims.openvba
1574syn keyword baanBshell ims.getproperties
1575syn keyword baanBshell ims.setvbaproperties
1576syn keyword baanBshell db.get.physical.compnr
1577syn keyword baanBshell db.bind
1578syn keyword baanBshell db.unbind
1579syn keyword baanBshell db.error
1580syn keyword baanBshell db.error.message
1581syn keyword baanBshell db.detail.error
1582syn keyword baanBshell db.first
1583syn keyword baanBshell db.last
1584syn keyword baanBshell db.next
1585syn keyword baanBshell db.prev
1586syn keyword baanBshell db.gt
1587syn keyword baanBshell db.ge
1588syn keyword baanBshell db.eq
1589syn keyword baanBshell db.curr
1590syn keyword baanBshell db.lt
1591syn keyword baanBshell db.le
1592syn keyword baanBshell db.delete
1593syn keyword baanBshell db.insert
1594syn keyword baanBshell db.update
1595syn keyword baanBshell db.check.row.changed
1596syn keyword baanBshell db.check.row.domains
1597syn keyword baanBshell db.check.restricted
1598syn keyword baanBshell db.ref.handle.mode
1599syn keyword baanBshell db.set.to.default
1600syn keyword baanBshell db.create.index
1601syn keyword baanBshell db.drop.index
1602syn keyword baanBshell db.change.order
1603syn keyword baanBshell db.create.table
1604syn keyword baanBshell db.clear.table
1605syn keyword baanBshell db.drop.table
1606syn keyword baanBshell db.lock.table
1607syn keyword baanBshell db.table.begin.import
1608syn keyword baanBshell db.table.end.import
1609syn keyword baanBshell db.table.update.statistics
1610syn keyword baanBshell db.indexinfo
1611syn keyword baanBshell db.nr.indices
1612syn keyword baanBshell db.nr.rows
1613syn keyword baanBshell db.row.length
1614syn keyword baanBshell db.transaction.is.on
1615syn keyword baanBshell commit.transaction
1616syn keyword baanBshell set.transaction.readonly
1617syn keyword baanBshell abort.transaction
1618syn keyword baanBshell db.record.to.columns
1619syn keyword baanBshell db.columns.to.record
1620syn keyword baanBshell db.schedule
1621syn keyword baanBshell db.permission
1622syn keyword baanBshell db.set.notransaction
1623syn keyword baanBshell db.set.transaction
1624syn keyword baanBshell db.set.child.transaction
1625syn keyword baanBshell get.db.permission
1626syn keyword baanBshell get.session.permission
1627syn keyword baanBshell ams.control
1628syn keyword baanBshell db.get.old.row
1629syn keyword baanBshell db.max.retry
1630syn keyword baanBshell sql.parse
1631syn keyword baanBshell sql.select.bind
1632syn keyword baanBshell sql.where.bind
1633syn keyword baanBshell sql.bind.input
1634syn keyword baanBshell sql.exec
1635syn keyword baanBshell sql.fetch
1636syn keyword baanBshell sql.break
1637syn keyword baanBshell sql.close
1638syn keyword baanBshell sql.error
1639syn keyword baanBshell sql.set.rds.full
1640syn keyword baanBshell rdi.table
1641syn keyword baanBshell rdi.index
1642syn keyword baanBshell rdi.column
1643syn keyword baanBshell rdi.table.column
1644syn keyword baanBshell rdi.reference
1645syn keyword baanBshell rdi.column.combined
1646syn keyword baanBshell rdi.domain
1647syn keyword baanBshell rdi.domain.long
1648syn keyword baanBshell rdi.domain.double
1649syn keyword baanBshell rdi.domain.string
1650syn keyword baanBshell rdi.domain.raw
1651syn keyword baanBshell rdi.domain.enum
1652syn keyword baanBshell rdi.domain.enum.value
1653syn keyword baanBshell rdi.domain.combined
1654syn keyword baanBshell rdi.session.info
1655syn keyword baanBshell rdi.session.dlls
1656syn keyword baanBshell rdi.ref.route
1657syn keyword baanBshell rdi.session.subject.info
1658syn keyword baanBshell rdi.session.subject
1659syn keyword baanBshell rdi.session.key
1660syn keyword baanBshell rdi.session.form
1661syn keyword baanBshell rdi.session.textfield
1662syn keyword baanBshell rdi.first.day.of.week
1663syn match   baanBshell "\<rdi.date.input.format\$"
1664syn keyword baanBshell rdi.format.digits
1665syn keyword baanBshell rdi.permission
1666syn keyword baanBshell rdi.option.info
1667syn keyword baanBshell rdi.option.short
1668syn keyword baanBshell rdi.vrc.path
1669syn keyword baanBshell rdi.audit.hosts
1670syn keyword baanBshell rdi.table.sequence
1671syn keyword baanBshell iget.fld.attr
1672syn keyword baanBshell sget.fld.attr
1673syn keyword baanBshell iget.frm.attr
1674syn keyword baanBshell sget.frm.attr
1675syn keyword baanBshell iput.fld.attr
1676syn keyword baanBshell sput.fld.attr
1677syn keyword baanBshell iput.frm.attr
1678syn keyword baanBshell put.var.to.field
1679syn keyword baanBshell get.var.from.field
1680syn match   baanBshell "\<rdi.etoc\$"
1681syn keyword baanBshell rdi.ctoe
1682syn keyword baanBshell get.cust.code
1683syn keyword baanBshell get.lic.no
1684syn keyword baanBshell get.cust.name
1685syn keyword baanBshell get.mach.id
1686syn keyword baanBshell fsum
1687syn match   baanBshell "\<get.resource\$"
1688syn keyword baanBshell qss.sort
1689syn keyword baanBshell qss.search
1690syn keyword baanBshell load_dll
1691syn keyword baanBshell exec_dll_function
1692syn keyword baanBshell get_function
1693syn keyword baanBshell exec_function
1694syn keyword baanBshell parse_and_exec_function
1695syn keyword baanBshell pty.open
1696syn keyword baanBshell pty.close
1697syn keyword baanBshell pty.read
1698syn keyword baanBshell pty.write
1699syn keyword baanBshell pty.winsize
1700syn keyword baanBshell pty.winsize.ok
1701syn keyword baanBshell pty.ok
1702syn keyword baanBshell user.exists
1703syn keyword baanBshell group.exists
1704syn keyword baanBshell is.administrator
1705syn keyword baanBshell mtime
1706syn keyword baanBshell getcwd
1707syn keyword baanBshell set.strip.mode
1708syn keyword baanBshell set.symbol.strip.mode
1709syn keyword baanBshell nullify.symbol
1710syn keyword baanBshell bshell.pid
1711syn keyword baanBshell create.new.symbol
1712syn keyword baanBshell push.by.name
1713syn keyword baanBshell array.info
1714syn keyword baanBshell array.to.string
1715syn keyword baanBshell many.to.string
1716syn keyword baanBshell ostype
1717syn keyword baanBshell utc.num
1718syn keyword baanBshell set.time.zone
1719syn keyword baanBshell get.time.zone
1720syn keyword baanBshell run.prog
1721syn keyword baanBshell run.baan.prog
1722syn keyword baanBshell get.status.text
1723syn keyword baanBshell dir.is.available
1724syn keyword baanBshell dir.set.server
1725syn keyword baanBshell dir.get.last.error
1726syn keyword baanBshell dir.init.object
1727syn keyword baanBshell dir.free.object
1728syn keyword baanBshell dir.clear.object
1729syn keyword baanBshell dir.create.object
1730syn keyword baanBshell dir.get.object
1731syn keyword baanBshell dir.remove.object
1732syn keyword baanBshell dir.update.object
1733syn keyword baanBshell dir.init.search
1734syn keyword baanBshell dir.free.search
1735syn keyword baanBshell dir.execute.search
1736syn keyword baanBshell dir.abandon.search
1737syn keyword baanBshell dir.get.first.row
1738syn keyword baanBshell dir.get.next.row
1739syn keyword baanBshell dir.get.prev.row
1740syn keyword baanBshell dir.get.element.count
1741syn keyword baanBshell dir.get.element.name
1742syn keyword baanBshell dir.get.element.type
1743syn keyword baanBshell dir.get.value.count
1744syn keyword baanBshell dir.add.element
1745syn keyword baanBshell dir.add.element.int
1746syn keyword baanBshell dir.add.element.str
1747syn keyword baanBshell dir.add.element.time
1748syn keyword baanBshell dir.get.value.int
1749syn keyword baanBshell dir.get.value.str
1750syn keyword baanBshell dir.get.value.time
1751syn keyword baanBshell dir.get.value.named.str
1752syn keyword baanBshell dir.set.value.int
1753syn keyword baanBshell dir.set.value.str
1754syn keyword baanBshell dir.set.value.time
1755syn keyword baanBshell dir.set.value.named.str
1756syn keyword baanBshell dir.remove.element
1757syn keyword baanBshell dir.find.element
1758syn keyword baanBshell utc.add
1759syn keyword baanBshell type.define
1760syn keyword baanBshell type.free
1761syn keyword baanBshell type.get.fieldnumber
1762syn keyword baanBshell container.create
1763syn keyword baanBshell container.clear
1764syn keyword baanBshell container.resize
1765syn keyword baanBshell container.set.nfields
1766syn keyword baanBshell container.set.ifields
1767syn keyword baanBshell container.set.fields
1768syn keyword baanBshell container.get.nfields
1769syn keyword baanBshell container.get.ifields
1770syn keyword baanBshell container.get.fields
1771syn keyword baanBshell container.actual.size
1772syn keyword baanBshell container.get.actual.size
1773syn keyword baanBshell container.set.actual.size
1774syn keyword baanBshell container.size
1775syn keyword baanBshell container.free
1776syn keyword baanBshell xma.process_next_event
1777syn keyword baanBshell xma.init_instance
1778syn keyword baanBshell fini.service
1779syn keyword baanBshell corba.boa.process_next_event
1780syn keyword baanBshell corba.boa.set_impl
1781syn keyword baanBshell corba.available
1782syn keyword baanBshell corba.orb.string_to_object
1783syn keyword baanBshell corba.orb.release
1784syn keyword baanBshell corba.request.invoke
1785syn keyword baanBshell corba.request.send
1786syn keyword baanBshell corba.request.get_response
1787syn keyword baanBshell corba.request.object
1788syn keyword baanBshell corba.request.delete
1789syn keyword baanBshell set.debug.cpu.opts
1790syn keyword baanBshell get.debug.cpu.opts
1791syn match   baanBshell "\<bsh.mesg\$"
1792syn keyword baanBshell toggle.cpu
1793syn keyword baanBshell cpu.is.debug
1794syn keyword baanBshell set.profprint
1795syn keyword baanBshell art.init
1796syn keyword baanBshell art.define.transaction.class
1797syn keyword baanBshell art.begin.transaction
1798syn keyword baanBshell art.update.transaction
1799syn keyword baanBshell art.end.transaction
1800syn keyword baanBshell java.new.queue
1801syn keyword baanBshell java.destroy.queue
1802syn keyword baanBshell java.install.listener
1803syn keyword baanBshell java.uninstall.listener
1804syn keyword baanBshell java.put.bucket
1805syn keyword baanBshell java.get.bucket
1806syn keyword baanBshell java.lookup.queue
1807syn keyword baanBshell java.execute.static.method
1808syn keyword baanBshell java.execute.static.method.sync
1809syn keyword baanBshell java.execute.static.method.async
1810syn keyword baanBshell xml.write
1811syn keyword baanBshell xml.read
1812syn keyword baanBshell xml.newnode
1813syn keyword baanBshell xml.unlinknode
1814syn keyword baanBshell xml.deletenode
1815syn keyword baanBshell xml.appendchildnode
1816syn keyword baanBshell xml.addnode
1817syn keyword baanBshell xml.insertnode
1818syn keyword baanBshell xml.duplicatenode
1819syn keyword baanBshell xml.setnodeproperties
1820syn keyword baanBshell xml.getnodeproperties
1821syn keyword baanBshell xml.deletenodeproperties
1822syn keyword baanBshell xml.findfirstnode
1823syn keyword baanBshell xml.findnodes
1824syn keyword baanBshell xml.findsetofsiblingnodes
1825syn keyword baanBshell xmlcontainsvalidcharactersonly
1826syn keyword baanBshell xmlwrite
1827syn keyword baanBshell xmlwritepretty
1828syn keyword baanBshell xmlwritetostring
1829syn keyword baanBshell xmlwriteprettytostring
1830syn keyword baanBshell xmlread
1831syn keyword baanBshell xmlreadfromstring
1832syn keyword baanBshell xmlnewnode
1833syn keyword baanBshell xmlnewdataelement
1834syn keyword baanBshell xmlrewritedataelement
1835syn keyword baanBshell xmlgetdataelement
1836syn keyword baanBshell xmlsetname
1837syn keyword baanBshell xmlsetdata
1838syn keyword baanBshell xmlsetattribute
1839syn keyword baanBshell xmldeleteattribute
1840syn keyword baanBshell xmlgetname
1841syn keyword baanBshell xmlgetdata
1842syn keyword baanBshell xmlgettype
1843syn keyword baanBshell xmlgetparent
1844syn keyword baanBshell xmlgetfirstchild
1845syn keyword baanBshell xmlgetlastchild
1846syn keyword baanBshell xmlgetrightsibling
1847syn keyword baanBshell xmlgetleftsibling
1848syn keyword baanBshell xmlgetnumattributes
1849syn keyword baanBshell xmlgetnumsiblings
1850syn keyword baanBshell xmlgetnumleftsiblings
1851syn keyword baanBshell xmlgetnumrightsiblings
1852syn keyword baanBshell xmlgetnumchilds
1853syn keyword baanBshell xmlgetattribute
1854syn keyword baanBshell xmlgetattributename
1855syn keyword baanBshell xmldelete
1856syn keyword baanBshell xmlunlink
1857syn keyword baanBshell xmlinsert
1858syn keyword baanBshell xmladd
1859syn keyword baanBshell xmlappend
1860syn keyword baanBshell xmlinsertinchilds
1861syn keyword baanBshell xmlappendtochilds
1862syn keyword baanBshell xmlduplicate
1863syn keyword baanBshell xmlduplicateandinsert
1864syn keyword baanBshell xmlduplicateandadd
1865syn keyword baanBshell xmlduplicateandappend
1866syn keyword baanBshell xmlduplicateandinsertinchilds
1867syn keyword baanBshell xmlduplicateandappendtochilds
1868syn keyword baanBshell xmlduplicatetoprocess
1869syn keyword baanBshell xmlfindfirst
1870syn keyword baanBshell xmlfindfirstmatch
1871syn keyword baanBshell xmlfindmatch
1872syn keyword baanBshell xmlfindnodes
1873syn keyword baanBshell xmlfindsetofsiblingnodes
1874syn keyword baanBshell xmlexecutesql
1875syn keyword baanBshell xmlexecutedllmethod
1876syn keyword baanBshell xmldllsignature
1877syn keyword baanBshell xmlnodetosymbol
1878syn keyword baanBshell xmlputstringtolog
1879syn keyword baanBshell xmlgetlog
1880syn keyword baanBshell xmlcleanuplog
1881syn keyword baanBshell xmlinstallloglistener
1882syn keyword baanBshell xmldeinstallloglistener
1883syn keyword baanBshell xmlinitsql
1884syn keyword baanBshell xmlrefreshsqlcache
1885syn keyword baanBshell xmlstatisticssqlcache
1886syn keyword baanBshell bclm.dump
1887syn keyword baanBshell bclm.init
1888syn keyword baanBshell bclm.requestlicense
1889syn keyword baanBshell bclm.confirmlicense
1890syn keyword baanBshell bclm.releaselicense
1891syn keyword baanBshell bclm.customerdata
1892syn keyword baanBshell bclm.enabledemoperiod
1893syn keyword baanBshell bclm.productidlicensed
1894syn keyword baanBshell bclm.set.desktop
1895
1896" Define the default highlighting.
1897" For version 5.7 and earlier: only when not done already
1898" For version 5.8 and later: only when an item doesn't have highlighting yet
1899if version >= 508 || !exists("did_baan_syn_inits")
1900  if version < 508
1901    let did_baan_syn_inits = 1
1902    command -nargs=+ HiLink hi link <args>
1903  else
1904    command -nargs=+ HiLink hi def link <args>
1905  endif
1906
1907  HiLink baanConditional	Conditional
1908  HiLink baan3gl		Statement
1909  HiLink baan3glpre		PreProc
1910  HiLink baan4gl		Statement
1911  HiLink baan4glh		Statement
1912  HiLink baansql		Statement
1913  HiLink baansqlh		Statement
1914  HiLink baanDalHook		Statement
1915  HiLink baanNumber		Number
1916  HiLink baanString		String
1917  HiLink baanOpenStringError	Error
1918  HiLink baanConstant		Constant
1919  HiLink baanComment		Comment
1920  HiLink baanCommenth		Comment
1921  HiLink baanUncommented	Comment
1922  HiLink baanDLLUsage		Comment
1923  HiLink baanFunUsage		Comment
1924  HiLink baanIdentifier		Normal
1925  HiLink baanBshell		Function
1926  HiLink baanType		Type
1927  HiLink baanStorageClass	StorageClass
1928
1929  delcommand HiLink
1930endif
1931
1932let b:current_syntax = "baan"
1933
1934" vim: ts=8
1935