Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Let users define their own functions #4

Open
Michael-F-Bryan opened this issue Aug 11, 2022 · 0 comments
Open

Let users define their own functions #4

Michael-F-Bryan opened this issue Aug 11, 2022 · 0 comments

Comments

@Michael-F-Bryan
Copy link
Owner

It'd be nice if we could define their own functions.

From the Functions section of the manual:

function func0() = 5;
function func1(x=3) = 2*x+1;
function func2() = [1,2,3,4];
function func3(y=7) = (y==7) ? 5 : 2 ;
function func4(p0,p1,p2,p3) = [p0,p1,p2,p3];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant