Skip to content

Functions

Giorgio Garofalo edited this page Jan 19, 2022 · 13 revisions

In Pikt, functions are essentially variables, with a block as its value, which starts with lambda.open , ends with lambda.close and contains the instructions that should be executed.

This is what an empty function looks like:

Now let's make the function print "ABC", and then call it via funcall .

The output is ABC as expected.

Parameters

WIP...

Return value