Warning

You're browsing the old v2.x documentation. This version is no longer maintained. Click here to go the v3.x documentation.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
fun [2019/12/09 21:22] – [Defining functions] neilsfun [2019/12/09 21:25] – [Functions with no parameters] neils
Line 49: Line 49:
 ==== Functions with no parameters ==== ==== Functions with no parameters ====
  
-You can omit the parameter list, but bear in mind that you have to omit the parentheses as well:+You can omit the parameter list, but bear in mind that you still have to write the empty parentheses:
  
-  fun no_params_no_parentheses+  fun no_params()
     ...     ...
   endfun   endfun