Post Reply 
Sudoku editor/Solver
12-22-2016, 08:57 AM
Post: #26
RE: Sudoku editor/Solver
I've upgraded my HW Prime, and the Sudoku program works very well on it.

But there's some really strange weirdness in my emulator. The built-in functions "head" and "tail" does not seem to work when the parameter is a local variable.

E.g.
Code:
RETURN head({17, 4711, 42});
returns 17, but

Code:
LOCAL elm={17, 4711, 42};
RETURN head(elm);

returns the variable itself, "elm".

Calling head on global variables works OK, e.g.
Code:
L0:={17,47111,42};
RETURN head(L0);

returns 17 as expected.


I'm going to report this on the emulator/CK thread.

/Lennart Börjeson
Stockholm, Sweden
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Sudoku editor/Solver - lenborje - 12-02-2014, 08:29 PM
RE: Sudoku editor/Solver - Mic - 12-03-2014, 07:10 PM
RE: Sudoku editor/Solver - lenborje - 12-04-2014, 07:06 AM
RE: Sudoku editor/Solver - lenborje - 12-04-2014, 01:18 PM
RE: Sudoku editor/Solver - Gerald H - 12-08-2014, 03:14 PM
RE: Sudoku editor/Solver - lenborje - 12-09-2014, 07:58 AM
RE: Sudoku editor/Solver - Han - 12-09-2014, 12:55 AM
RE: Sudoku editor/Solver - lenborje - 12-09-2014, 07:51 AM
RE: Sudoku editor/Solver - Han - 12-09-2014, 01:48 PM
RE: Sudoku editor/Solver - lenborje - 01-31-2015, 02:26 PM
RE: Sudoku editor/Solver - Thomas_Sch - 01-31-2015, 04:14 PM
RE: Sudoku editor/Solver - lenborje - 02-01-2015, 01:26 PM
RE: Sudoku editor/Solver - Thomas_Sch - 02-01-2015, 01:48 PM
RE: Sudoku editor/Solver - lenborje - 02-01-2015, 08:52 PM
RE: Sudoku editor/Solver - Thomas_Sch - 02-02-2015, 08:12 AM
RE: Sudoku editor/Solver - debrouxl - 02-02-2015, 08:33 AM
RE: Sudoku editor/Solver - Guenter Schink - 12-20-2016, 03:37 PM
RE: Sudoku editor/Solver - lenborje - 12-20-2016, 03:40 PM
RE: Sudoku editor/Solver - Guenter Schink - 12-20-2016, 04:11 PM
RE: Sudoku editor/Solver - lenborje - 12-21-2016, 02:57 PM
RE: Sudoku editor/Solver - Guenter Schink - 12-21-2016, 04:25 PM
RE: Sudoku editor/Solver - lenborje - 12-21-2016, 04:42 PM
RE: Sudoku editor/Solver - Guenter Schink - 12-21-2016, 05:02 PM
RE: Sudoku editor/Solver - debrouxl - 12-20-2016, 07:35 PM
RE: Sudoku editor/Solver - lenborje - 12-20-2016, 07:37 PM
RE: Sudoku editor/Solver - lenborje - 12-22-2016 08:57 AM



User(s) browsing this thread: 2 Guest(s)