Fermat
Search
K

Comments

You can add comments to your code snippet with a double slash // or with # :
// animal legs
set elephant to 4
set spider to 8
# adding legs
set legs to elephant + spider
Output:
> 12
In case of functions, you can add documentation to them by adding a comment in the first line of the function:
set plusOne to ->
// this adds one to your arg
it + 1
end
You can inspect the documentation through Fermat's inspect window.
Last modified 1yr ago