#1✎ 1_xdbcNight PersonI like the quiet night and sleep late.Express YourselfIntermediate ProgrammerI can make programs, but I still have trouble here and there. Programming StrengthVideo GamesI like to play video games!HobbiesI tried array[q](ignoring the second index) but it doesn't work
#2✎ 165812Me21Head AdminThird YearMy account is over 3 years oldWebsiteSyntax HighlighterReceived for creating the code syntax highlighter on SBSNight PersonI like the quiet night and sleep late.Express YourselfYou can only use ARYOP on an entire array at once.
Multi dimensional arrays in SB aren't arrays of arrays like they are in some languages.
If you want to operate on just one "row", you'll have to COPY the part you want into a temporary array:
COPY TEMP,ARRAY,q*W,W 'copy ARRAY[q] -> TEMP
ARYOP ... TEMP ...
COPY ARRAY,q*W,TEMP' copy TEMP -> ARRAY[q]