Arrays and subs.... - Printable Version +- Qbasicnews.com (http://qbasicnews.com/newforum) +-- Forum: Qbasic "like" compilers/interpreters (http://qbasicnews.com/newforum/forum-5.html) +--- Forum: FB Discussion & Programming Help (http://qbasicnews.com/newforum/forum-15.html) +--- Thread: Arrays and subs.... (/thread-7781.html) |
Arrays and subs.... - anonjondoe - 07-24-2005 Can anyone tell me why this code isn't working. I press 'compile and run' and it gives me the following error "error 60: Illegal specification, at parameter 6: map On line: 26" Code: SCREEN 17 Thanks in advance. Jack Arrays and subs.... - Jofers - 07-24-2005 use map() instead of map(1 TO 80, 1 TO 25). You only need to defined the upper and lower bounds when you DIM it, the rest is safely passed to the subroutine. Arrays and subs.... - anonjondoe - 07-24-2005 Okay, thank you very much. |