default.txt 566 B

123456789101112131415161718192021222324252627282930
  1. <?rev
  2. global gControllerHandlers, gData
  3. local sTest
  4. put "blog,index" into gControllerHandlers
  5. command blog
  6. -- simple comment
  7. put "Hello World!" into sTest
  8. # ANOTHER COMMENT
  9. put "form,url,asset" into tHelpers
  10. rigLoadHelper tHelpers
  11. end blog
  12. /*Hello
  13. block comment!*/
  14. function myFunction
  15. if the secs > 2000000000 then
  16. put "Welcome to the future!"
  17. else
  18. return "something"
  19. end if
  20. end myFunction
  21. --| END OF blog.lc
  22. --| Location: ./system/application/controllers/blog.lc
  23. ----------------------------------------------------------------------