You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

functions.l2 207B

1234567891011121314151617181920212223242526
  1. func := {
  2. "hello"
  3. }
  4. print func()
  5. str := "Hello World"
  6. func := {
  7. {
  8. str
  9. }
  10. }
  11. print func()()
  12. func := {
  13. {
  14. str = $.0
  15. }
  16. }
  17. func() 10
  18. print str
  19. func := {
  20. retval := "what's up"
  21. {retval}
  22. }
  23. print func()()