# Visual Basic language definition file
#
# Author: Andr� Simon
#   Mail: andre.simon1@gmx.de
#   Date: 29.7.2002
# ------------------------------------------
# This file is a part of highlight, a free source code converter released under the GPL.
#
# The file is used to describe keywords and special symbols of programming languages.
# See README in the highlight directory for details.
#
# New definition files for future releases of highlight are always appreciated ;)
#
# ----------
# andre.simon1@gmx.de
# http:/www.andre-simon.de/

$DESCRIPTION=Visual Basic

$KEYWORDS(KWA)=and as begin case call continue do each else elseif end erase
error event exit false for function get gosub goto if implement in load loop
lset me mid new next not nothing on or property raiseevent resume return rset
select set stop sub then to true unload until wend while with withevents
attribute alias as  byref  byval  compare   declare explicit friend global let
lib  module object option optional preserve private property public redim  type
dim const

$KEYWORDS(kwb)=boolean  byte  currency date decimal  double enum integer  long
single static string variant

$KEYWORDS(kwd)=regex((\w+)\s*\()

$STRINGDELIMITERS="

#$KW_PREFIX(kwb)=$
$KEYWORDS(kwb)=regex(\$\S+)

$SL_COMMENT=' rem REM Rem

$IGNORECASE=true

$SYMBOLS= ( ) [ ] { } , ; : & | < > !  = / * %  + - .
