SOFiSTiK Forum

It is currently Fri Aug 23, 2019 6:43 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Multi line functions
PostPosted: Thu Oct 11, 2018 11:39 am 
Offline

Joined: Thu Oct 11, 2018 11:20 am
Posts: 2
Hi

The manual 'SOFiSTiK Basics' explains how functions can be utilized. This is great. I have used it a lot.

LET#F '=FUN(var, formulaexpression')

However, this function implementations seems to only be able to handle single line "mathematical" functions of 1 variable.

Is it possible to:

1: Define a function with multiple variables, e.g.
LET#F '=FUN(var1, var2, ..., varN, formulaexpression containing all variables)'

2: Define a multi line function like in any other programming language, e.g. with IF-statements, LOOPs. Something like this pseudo-code:

LET#F '=FUN(var1, var2,
IF (#var1 < #var2)
= 1
ELSE
= 0
ENDIF
)


BR
tsja


Top
 Profile  
 
 Post subject: Re: Multi line functions
PostPosted: Thu Apr 25, 2019 3:27 pm 
Offline

Joined: Tue Apr 23, 2019 2:02 pm
Posts: 1
Hi!
Have you found an answer? Just started look for the same thing.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group