Post Reply 
User-defined functions in Free42
01-12-2021, 05:52 PM
Post: #15
RE: User-defined functions in Free42
It's not the most efficient style of programming, but recursive functions can be made very readable this way:

Code:
00 { 24-Byte Prgm }
01▸LBL "FAC"
02 FUNC 11
03 RCL ST X
04 1
05 X≥Y?
06 RTN
07 -
08 XEQ "FAC"
09 ×
10 END
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: User-defined functions in Free42 - Thomas Okken - 01-12-2021 05:52 PM



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