Post Reply 
Program crashes G2
09-26-2019, 02:18 AM (This post was last modified: 09-26-2019 02:21 AM by Gene222.)
Post: #3
RE: Program crashes G2
(09-25-2019 11:15 PM)Albert Chan Wrote:  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]

The program works on my Prime version A in both Home and CAS. Haden might want to step through the program with debug and watch variables L1, X, Y, and Z to confirm L1 is not being defined on the G2. Maybe it is related to the problems with BREAK.
Find all posts by this user
Quote this message in a reply
Post Reply 


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)