[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Constants in functions?
From: |
Windhorn, Allen E [ACIM/LSA/MKT] |
Subject: |
RE: Constants in functions? |
Date: |
Mon, 9 Mar 2020 13:16:35 +0000 |
> -----Original Message-----
> From: Help-octave On Behalf Of Nicklas Karlsson
>
> Your code seems fine to me. Using "persistent" [1] avoids the variables
> to be redefined each time the function is invoked. And if you do not
> change its value, it is "constant". So what it is exactly you are
> worried about?
No worries, just wondering if there were a better way. Thanks to all for
the advice.
Regards,
Allen