default.txt 584 B

123456789101112131415161718192021
  1. #dim test as %Library.Integer
  2. SET test = 123.099
  3. set ^global = %request.Content
  4. Write "Current date """, $ztimestamp, """, result: ", test + ^global = 125.099
  5. do ##class(Cinema.Utils).AddShow("test") // class method call
  6. do ##super() ; another one-line comment
  7. d:(^global = 2) ..thisClassMethod(1, 2, "test")
  8. /*
  9. * Sub-languages support:
  10. */
  11. &sql( SELECT * FROM Cinema.Film WHERE Length > 2 )
  12. &js<for (var i = 0; i < String("test").split("").length); ++i) {
  13. console.log(i);
  14. }>
  15. &html<<!DOCTYPE html>
  16. <html>
  17. <head> <meta name="test"/> </head>
  18. <body>Test</body>
  19. </html>>
  20. quit $$$OK