Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Old zxbasic game errors
#1
trying Escape From Cnossus from 2013 getting this error

Error: 'subdivideHigh' is neither an array nor a function.

the line is

wall1 = subdivideHigh(x1, y1, x - 1, y2)

any help please
I'm always on the chat or facebook.
Reply
#2
Please, can you provide a link to the .bas file??
---
Boriel
Reply
#3
Escape from Cnossus
Author: Felix Plesoianu

Type: Dungeon Game

Year: 2013

Source: Yes

Link: https://notimetoplay.org/games/roguelike...m-cnossus/
I'm always on the chat or facebook.
Reply
#4
I had a play with this and got the same error. I think it is giving an error because it is calling the function before it has been defined. There may be a setting in the config that will ignore this error.

Or I may be wrong Smile
Reply
#5
Ok goto it working..... I just moved the function above the error line Smile
I'm always on the chat or facebook.
Reply
#6
It's weird, because this should be partially supported (it should for subs, for example).
Anyway, another fix is to use DECLARE FUNCTION... (with the function header).

Will check it anyway.
---
Boriel
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)