KXStudio Website https://kx.studio/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

freebasic.php 6.0KB

11 years ago
11 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. <?php
  2. /*************************************************************************************
  3. * freebasic.php
  4. * -------------
  5. * Author: Roberto Rossi
  6. * Copyright: (c) 2005 Roberto Rossi (http://rsoftware.altervista.org)
  7. * Release Version: 1.0.8.11
  8. * Date Started: 2005/08/19
  9. *
  10. * FreeBasic (http://www.freebasic.net/) language file for GeSHi.
  11. *
  12. * CHANGES
  13. * -------
  14. * 2005/08/19 (1.0.0)
  15. * - First Release
  16. *
  17. *
  18. *************************************************************************************
  19. *
  20. * This file is part of GeSHi.
  21. *
  22. * GeSHi is free software; you can redistribute it and/or modify
  23. * it under the terms of the GNU General Public License as published by
  24. * the Free Software Foundation; either version 2 of the License, or
  25. * (at your option) any later version.
  26. *
  27. * GeSHi is distributed in the hope that it will be useful,
  28. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  29. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  30. * GNU General Public License for more details.
  31. *
  32. * You should have received a copy of the GNU General Public License
  33. * along with GeSHi; if not, write to the Free Software
  34. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  35. *
  36. ************************************************************************************/
  37. $language_data = array (
  38. 'LANG_NAME' => 'FreeBasic',
  39. 'COMMENT_SINGLE' => array(1 => "'", 2 => '#'),
  40. 'COMMENT_MULTI' => array(),
  41. 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
  42. 'QUOTEMARKS' => array('"'),
  43. 'ESCAPE_CHAR' => '\\',
  44. 'KEYWORDS' => array(
  45. 1 => array(
  46. "append", "as", "asc", "asin", "asm", "atan2", "atn", "beep", "bin", "binary", "bit",
  47. "bitreset", "bitset", "bload", "bsave", "byref", "byte", "byval", "call",
  48. "callocate", "case", "cbyte", "cdbl", "cdecl", "chain", "chdir", "chr", "cint",
  49. "circle", "clear", "clng", "clngint", "close", "cls", "color", "command",
  50. "common", "cons", "const", "continue", "cos", "cshort", "csign", "csng",
  51. "csrlin", "cubyte", "cuint", "culngint", "cunsg", "curdir", "cushort", "custom",
  52. "cvd", "cvi", "cvl", "cvlongint", "cvs", "cvshort", "data", "date",
  53. "deallocate", "declare", "defbyte", "defdbl", "defined", "defint", "deflng",
  54. "deflngint", "defshort", "defsng", "defstr", "defubyte", "defuint",
  55. "defulngint", "defushort", "dim", "dir", "do", "double", "draw", "dylibload",
  56. "dylibsymbol", "else", "elseif", "end", "enum", "environ", 'environ$', "eof",
  57. "eqv", "erase", "err", "error", "exec", "exepath", "exit", "exp", "export",
  58. "extern", "field", "fix", "flip", "for", "fre", "freefile", "function", "get",
  59. "getjoystick", "getkey", "getmouse", "gosub", "goto", "hex", "hibyte", "hiword",
  60. "if", "iif", "imagecreate", "imagedestroy", "imp", "inkey", "inp", "input",
  61. "instr", "int", "integer", "is", "kill", "lbound", "lcase", "left", "len",
  62. "let", "lib", "line", "lobyte", "loc", "local", "locate", "lock", "lof", "log",
  63. "long", "longint", "loop", "loword", "lset", "ltrim", "mid", "mkd", "mkdir",
  64. "mki", "mkl", "mklongint", "mks", "mkshort", "mod", "multikey", "mutexcreate",
  65. "mutexdestroy", "mutexlock", "mutexunlock", "name", "next", "not", "oct", "on",
  66. "once", "open", "option", "or", "out", "output", "overload", "paint", "palette",
  67. "pascal", "pcopy", "peek", "peeki", "peeks", "pipe", "pmap", "point", "pointer",
  68. "poke", "pokei", "pokes", "pos", "preserve", "preset", "print", "private",
  69. "procptr", "pset", "ptr", "public", "put", "random", "randomize", "read",
  70. "reallocate", "redim", "rem", "reset", "restore", "resume",
  71. "return", "rgb", "rgba", "right", "rmdir", "rnd", "rset", "rtrim", "run",
  72. "sadd", "screen", "screencopy", "screeninfo", "screenlock", "screenptr",
  73. "screenres", "screenset", "screensync", "screenunlock", "seek", "statement",
  74. "selectcase", "setdate", "setenviron", "setmouse",
  75. "settime", "sgn", "shared", "shell", "shl", "short", "shr", "sin", "single",
  76. "sizeof", "sleep", "space", "spc", "sqr", "static", "stdcall", "step", "stop",
  77. "str", "string", "strptr", "sub", "swap", "system", "tab", "tan",
  78. "then", "threadcreate", "threadwait", "time", "timer", "to", "trans",
  79. "trim", "type", "ubound", "ubyte", "ucase", "uinteger", "ulongint", "union",
  80. "unlock", "unsigned", "until", "ushort", "using", "va_arg", "va_first",
  81. "va_next", "val", "val64", "valint", "varptr", "view", "viewprint", "wait",
  82. "wend", "while", "width", "window", "windowtitle", "with", "write", "xor",
  83. "zstring", "explicit", "escape", "true", "false"
  84. )
  85. ),
  86. 'SYMBOLS' => array(
  87. '(', ')'
  88. ),
  89. 'CASE_SENSITIVE' => array(
  90. GESHI_COMMENTS => false,
  91. 1 => false
  92. ),
  93. 'STYLES' => array(
  94. 'KEYWORDS' => array(
  95. 1 => 'color: #b1b100;'
  96. ),
  97. 'COMMENTS' => array(
  98. 1 => 'color: #808080;',
  99. 2 => 'color: #339933;'
  100. ),
  101. 'BRACKETS' => array(
  102. 0 => 'color: #66cc66;'
  103. ),
  104. 'STRINGS' => array(
  105. 0 => 'color: #ff0000;'
  106. ),
  107. 'NUMBERS' => array(
  108. 0 => 'color: #cc66cc;'
  109. ),
  110. 'METHODS' => array(
  111. 0 => 'color: #66cc66;'
  112. ),
  113. 'SYMBOLS' => array(
  114. 0 => 'color: #66cc66;'
  115. ),
  116. 'ESCAPE_CHAR' => array(
  117. 0 => 'color: #000099;'
  118. ),
  119. 'SCRIPT' => array(
  120. ),
  121. 'REGEXPS' => array(
  122. )
  123. ),
  124. 'URLS' => array(
  125. 1 => ''
  126. ),
  127. 'OOLANG' => true,
  128. 'OBJECT_SPLITTERS' => array(
  129. 1 => '.'
  130. ),
  131. 'REGEXPS' => array(
  132. ),
  133. 'STRICT_MODE_APPLIES' => GESHI_NEVER,
  134. 'SCRIPT_DELIMITERS' => array(
  135. ),
  136. 'HIGHLIGHT_STRICT_BLOCK' => array(
  137. )
  138. );
  139. ?>