Parent Directory
|
Revision Log
Moved support files for variouso outside 'tools' into their own folder together.
1 | jpye | 1390 | <?php |
2 | |||
3 | require_once("ashighlight.class.php"); | ||
4 | |||
5 | $text = "MODEL test; END test;"; | ||
6 | $lang = "a4c"; | ||
7 | |||
8 | $p = new ASHighlight(); | ||
9 | |||
10 | $p->parse_code($text,$lang); | ||
11 | |||
12 | if($p->error){ | ||
13 | print "parse_code returns error:"; | ||
14 | die($p->errmsg); | ||
15 | } | ||
16 | |||
17 | print "output...\n"; | ||
18 | print $p->out; | ||
19 | print "...output\n"; | ||
20 | |||
21 | ?> |
john.pye@anu.edu.au | ViewVC Help |
Powered by ViewVC 1.1.22 |