Program crashes G2
|
09-25-2019, 11:15 PM
Post: #2
|
|||
|
|||
RE: Program crashes G2
(09-25-2019 10:33 PM)David Hayden Wrote: I wrote the following program for the HHC programming contest. I didn't submit it because it frequently (but not always) crashed my Prime G2. I just verified that it crashes the virtual calculator also. Tried it on XCas. It crashes too. My guess the problem is this line Code: LOCAL L1 := {}; On XCas, it seems impossible to create an empty list. So, I go around the bug, and set L1 = [0] XCas> CUBES() → [0,153,370,371,407] |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Program crashes G2 - David Hayden - 09-25-2019, 10:33 PM
RE: Program crashes G2 - Albert Chan - 09-25-2019 11:15 PM
RE: Program crashes G2 - Gene222 - 09-26-2019, 02:18 AM
RE: Program crashes G2 - toml_12953 - 09-26-2019, 07:00 AM
RE: Program crashes G2 - David Hayden - 09-26-2019, 11:36 AM
RE: Program crashes G2 - grsbanks - 09-26-2019, 01:18 PM
|
User(s) browsing this thread: 1 Guest(s)