Name: Anonymous 2012-05-06 11:19
I'm in my first year informatics. I need to make a program in scilab for maths that solves nonograms.
but I have 1 piece of code that always gives an invalid index error and I have been looking for it the whole time but cannot seem to fix the error. Could you guys plz look at it and solve the problem? I would be very grateful.
http://pastebin.com/jmH8YhX5
the invalid index error is supposed to be at line 9.
I have these weird code in my else statements because in scilab you always need to write an else function even if you do not want to use it.
but I have 1 piece of code that always gives an invalid index error and I have been looking for it the whole time but cannot seem to fix the error. Could you guys plz look at it and solve the problem? I would be very grateful.
http://pastebin.com/jmH8YhX5
the invalid index error is supposed to be at line 9.
I have these weird code in my else statements because in scilab you always need to write an else function even if you do not want to use it.