CompuServe Thread

Forum unknown · Programming

1.2 & AmigaBasic

1 messages in this thread
#31236From: Ed SilvaAug 27, 1986 1:08 AM
Bela,is this the "last" Beta before finalso if you do any graphics with AmigaBASIC you might help. Do you know why the PATTERN command caake more than 8 variables in an array, the following sample returns a Illegal function call message : DIM Block%(10) FOR x = 0 to 10 READ Block%(x) NEXT x DATA 257,257,257,257,257,257,257,257,257,257,257 CIRCLE (320,100),1 PATTERN &HFFFF,Block% PAINT (320,100),1 END I know that the arrays have to be a power of 2 as 2^3,2^4,2^5 but even doing DIM Block%(16) or DIM Block%(32) will NOT work ONLY with 8 arrays. Why?? ——- ANYBODY KNOWS IF THIS IS A BUG IN AmigaBASIC ————– ANYBODY KNOWS IF THIS IS A BUG IN AmigaBASIC ——-ANYBODY KNOW Eduardo.