Debugging With an Orange Bang
|
06-30-2017, 01:38 PM
Post: #10
|
|||
|
|||
RE: Debugging With an Orange Bang
(06-30-2017 01:14 PM)Didier Lachieze Wrote:(06-30-2017 12:26 PM)toml_12953 Wrote: In order for that to work, c has to either be global or be passed by reference. Otherwise modifying the values in c in the function circl won't modify the values in the main program. At least that's what I've found in regular programs. Maybe in CAS programs it's different? If so, I'll be making most of my programs CAS from now on. Thanks for your time and expertise on this! My original program worked and did use c as a global array but I was hoping to eliminate that with =<. So what is the point of =< as opposed to := ? I thought =< was supposed to modify by reference. If it doesn't, I really don't see the utility of it. Tom L Cui bono? |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)