测试语法高亮
测试一下语法高亮:
JAVA语言
public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World"); } }
Python语言
class Test: def prt(self): print(self) print(self.__class__) t = Test() t.prt()
AutoLISP语言
(defun c:test() (vl-load-com) (setq ent (car (entsel))) (setq obj (vlax-ename->vla-object ent)) (vla-put-color obj 1) (princ "This is a test") (princ) )
C++语言
#includeusing namespace std; int main() { cout << "Hello, world!" << endl; return 0; }
Chinese, Simplified