Skip to content

Commit

Permalink
v0.33.0 - func name()...
Browse files Browse the repository at this point in the history
  • Loading branch information
ldemailly committed Aug 2, 2024
1 parent 5ed635c commit 7087256
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/grol_wasm.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
<label for="input">Edit the sample/Enter your GROL code here:</label>
<textarea id="input" rows="12" cols="80">
println("Outputting a smiley: 😀")
fact=func(n) { // function example
func fact(n) { // function example, name is optional
log("called fact ", n) // log output
// parenthesis are optional:
if (n<=1) {
Expand Down
Binary file modified grol.wasm
Binary file not shown.

0 comments on commit 7087256

Please sign in to comment.