Post Reply 
Optional Parameter in User Function.
06-14-2021, 09:24 PM (This post was last modified: 06-14-2021 11:24 PM by StephenG1CMZ.)
Post: #2
RE: Optional Parameter in User Function.
Not in the current product, but I understand this is possible in the beta release.
Currently, one workaround is to use lists:

Outline only:
Export feet(LST)
If size(LST) ==1...LST(1)
IF SIZE(LST)== 2...LST(1)+LST(2)
Call: feet({5}) or feet({5,6}

Stephen Lewkowicz (G1CMZ)
https://my.numworks.com/python/steveg1cmz
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Optional Parameter in User Function. - StephenG1CMZ - 06-14-2021 09:24 PM



User(s) browsing this thread: 1 Guest(s)