Codulle - L'explorateur de code sources

Accueil>> AlBulle >> Albulle0.9.2 >> photos

Informations fichier

Nom du fichier : qbasic.php
Taille du fichier : 5 Ko (147 lignes)
Language : PHP

  1. span style="color: #808080; font-style: italic;">/*************************************************************************************
  2. * qbasic.php
  3. * ----------
  4. * Author: Nigel McNie (oracle.shinoda@gmail.com)
  5. * Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/)
  6. * Release Version: 1.0.7.5
  7. * CVS Revision Version: $Revision: 1.6 $
  8. * Date Started: 2004/06/20
  9. * Last Modified: $Date: 2005/10/22 07:52:59 $
  10. *
  11. * QBasic/QuickBASIC language file for GeSHi.
  12. *
  13. * CHANGES
  14. * -------
  15. * 2004/11/27 (1.0.3)
  16. * - Added support for multiple object splitters
  17. * 2004/10/27 (1.0.2)
  18. * - Added support for URLs
  19. * 2004/08/05 (1.0.1)
  20. * - Added support for symbols
  21. * - Removed unnessecary slashes from some keywords
  22. * 2004/07/14 (1.0.0)
  23. * - First Release
  24. *
  25. * TODO (updated 2004/11/27)
  26. * -------------------------
  27. * * Make sure all possible combinations of keywords with
  28. * a space in them (EXIT FOR, END SELECT) are added
  29. * to the first keyword group
  30. * * Update colours, especially for the first keyword group
  31. *
  32. *************************************************************************************
  33. *
  34. * This file is part of GeSHi.
  35. *
  36. * GeSHi is free software; you can redistribute it and/or modify
  37. * it under the terms of the GNU General Public License as published by
  38. * the Free Software Foundation; either version 2 of the License, or
  39. * (at your option) any later version.
  40. *
  41. * GeSHi is distributed in the hope that it will be useful,
  42. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  43. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  44. * GNU General Public License for more details.
  45. *
  46. * You should have received a copy of the GNU General Public License
  47. * along with GeSHi; if not, write to the Free Software
  48. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  49. *
  50. ************************************************************************************/'LANG_NAME' => 'QBasic/QuickBASIC',
  51. 'COMMENT_SINGLE'"'", 2 => ' REM', 3 => "\tREM"),
  52. 'COMMENT_MULTI''CASE_KEYWORDS''QUOTEMARKS''"'),
  53. 'ESCAPE_CHAR' => '',
  54. 'KEYWORDS''DO', 'LOOP', 'WHILE', 'WEND', 'THEN', 'ELSE', 'ELSEIF', 'IF',
  55. 'FOR', 'TO', 'NEXT', 'STEP', 'GOTO', 'GOSUB', 'RETURN', 'RESUME', 'SELECT',
  56. 'CASE', 'UNTIL''ABS', 'ABSOLUTE', 'ACCESS', 'ALIAS', 'AND', 'ANY', 'APPEND', 'AS', 'ASC', 'ATN',
  57. 'BASE', 'BEEP', 'BINARY', 'BLOAD', 'BSAVE', 'BYVAL', 'CALL', 'CALLS', 'CASE',
  58. 'CDBL', 'CDECL', 'CHAIN', 'CHDIR', 'CHDIR', 'CHR$', 'CINT', 'CIRCLE', 'CLEAR',
  59. 'CLNG', 'CLOSE', 'CLS', 'COM', 'COMMAND$', 'COMMON', 'CONST', 'COS', 'CSNG',
  60. 'CSRLIN', 'CVD', 'CVDMBF', 'CVI', 'CVL', 'CVS', 'CVSMDF', 'DATA', 'DATE$',
  61. 'DECLARE', 'DEF', 'FN', 'SEG', 'DEFDBL', 'DEFINT', 'DEFLNG', 'DEFSNG', 'DEFSTR',
  62. 'DIM', 'DOUBLE', 'DRAW', 'END', 'ENVIRON', 'ENVIRON$', 'EOF', 'EQV', 'ERASE',
  63. 'ERDEV', 'ERDEV$', 'ERL', 'ERR', 'ERROR', 'EXIT', 'EXP', 'FIELD', 'FILEATTR',
  64. 'FILES', 'FIX', 'FRE', 'FREEFILE', 'FUNCTION', 'GET', 'HEX$', 'IMP', 'INKEY$',
  65. 'INP', 'INPUT', 'INPUT$', 'INSTR', 'INT', 'INTEGER', 'IOCTL', 'IOCTL$', 'IS',
  66. 'KEY', 'KILL', 'LBOUND', 'LCASE$', 'LEFT$', 'LEN', 'LET', 'LINE', 'LIST', 'LOC',
  67. 'LOCAL', 'LOCATE', 'LOCK', 'LOF', 'LOG', 'UNLOCK', 'LONG', 'LPOS', 'LPRINT',
  68. 'LSET', 'LTRIM$', 'MID$', 'MKD$', 'MKDIR', 'MKDMBF$', 'MKI$', 'MKL$',
  69. 'MKS$', 'MKSMBF$', 'MOD', 'NAME', 'NOT', 'OCT$', 'OFF', 'ON', 'PEN', 'PLAY',
  70. 'STRIG', 'TIMER', 'UEVENT', 'OPEN', 'OPTION', 'BASE', 'OR', 'OUT', 'OUTPUT',
  71. 'PAINT', 'PALETTE', 'PCOPY', 'PEEK', 'PMAP', 'POINT', 'POKE', 'POS', 'PRESET',
  72. 'PRINT', 'USING', 'PSET', 'PUT', 'RANDOM', 'RANDOMIZE', 'READ', 'REDIM', 'RESET',
  73. 'RESTORE', 'RIGHT$', 'RMDIR', 'RND', 'RSET', 'RTRIM$', 'RUN', 'SADD', 'SCREEN',
  74. 'SEEK', 'SETMEM', 'SGN', 'SHARED', 'SHELL', 'SIGNAL', 'SIN', 'SINGLE', 'SLEEP',
  75. 'SOUND', 'SPACE$', 'SPC', 'SQR', 'STATIC', 'STICK', 'STOP', 'STR$', 'STRIG',
  76. 'STRING', 'STRING$', 'SUB', 'SWAP', 'SYSTEM', 'TAB', 'TAN', 'TIME$', 'TIMER',
  77. 'TROFF', 'TRON', 'TYPE', 'UBOUND', 'UCASE$', 'UEVENT', 'UNLOCK', 'USING', 'VAL',
  78. 'VARPTR', 'VARPTR$', 'VARSEG', 'VIEW', 'WAIT', 'WIDTH', 'WINDOW', 'WRITE', 'XOR'
  79. )
  80. ),
  81. 'SYMBOLS''(', ')'
  82. ),
  83. 'CASE_SENSITIVE''STYLES''KEYWORDS''color: #a1a100;',
  84. 3 => 'color: #000066;'
  85. ),
  86. 'COMMENTS''color: #808080;',
  87. 2 => 'color: #808080;',
  88. 3 => 'color: #808080;'
  89. ),
  90. 'BRACKETS''color: #66cc66;'
  91. ),
  92. 'STRINGS''color: #ff0000;'
  93. ),
  94. 'NUMBERS''color: #cc66cc;'
  95. ),
  96. 'METHODS''SYMBOLS''color: #66cc66;'
  97. ),
  98. 'ESCAPE_CHAR''color: #000099;'
  99. ),
  100. 'SCRIPT''REGEXPS''URLS''',
  101. 3 => 'http://www.qbasicnews.com/qboho/qck{FNAME}.shtml'
  102. ),
  103. 'OOLANG''OBJECT_SPLITTERS''REGEXPS''STRICT_MODE_APPLIES''SCRIPT_DELIMITERS''HIGHLIGHT_STRICT_BLOCK'

Liste des projets

Téléchargez Codulle

Publié par Codulle - v0.1.1 - © Bubulles Creations