logging a function's argument
|
09-25-2022, 07:40 PM
Post: #1
|
|||
|
|||
logging a function's argument
With the 50g, it was possible to have a function with the side effect of logging the argument by appending it to a list. Say something like this.
Code:
My motivation for such a function was to explore certain algorithms such as numeric solving and numeric integration. Afterwards, I could look at the 'XLST' to see what the algorithm did. It worked like a charm. My attempts for doing the same with the Prime have been less successful. I tried Code: EXPORT XARG(x) and Code: #cas These work fine when executed directly from the command line. But when used within fsolve() or int(), neither works as hoped. Any ideas on how to make this work? |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
logging a function's argument - Wes Loewer - 09-25-2022 07:40 PM
RE: logging a function's argument - roadrunner - 09-26-2022, 12:39 PM
RE: logging a function's argument - Wes Loewer - 09-26-2022, 02:55 PM
RE: logging a function's argument - StephenG1CMZ - 09-26-2022, 03:12 PM
RE: logging a function's argument - Wes Loewer - 09-26-2022, 05:14 PM
RE: logging a function's argument - parisse - 09-27-2022, 09:21 AM
RE: logging a function's argument - Wes Loewer - 09-28-2022, 04:44 PM
RE: logging a function's argument - parisse - 09-29-2022, 05:44 PM
|
User(s) browsing this thread: 1 Guest(s)