Working Help example givews me an error

BlitzPlus Forums/BlitzPlus Beginners Area/Working Help example givews me an error

methodman3000(Posted 2014) [#1]
;arrays.bb



Dim day$(7)
day(0) "monday
day(1) "tuesday
day3 "Wednesay
day(4) "thursday
day(5) "friday"
day(6) "Saturday
day(7) "Sunday

For i=0 To 6
Print day$

Next



Why isn't this working Do I need " at end it seems like the Dim statement doesn't work could it be my computer


methodman3000(Posted 2014) [#2]
It keeps saying variable expected like its not taking the dim statement I am using Win7 on a Gateway sx201.


Matty(Posted 2014) [#3]
Youre missing the equals symbol and matching quotes around the strings...


RemiD(Posted 2014) [#4]
Dim day$(7)

day(1) = "monday"
day(2) = "tuesday"
day(3) = "wednesday"
day(4) = "thursday"
day(5) = "friday"
day(6) = "saturday"
day(7) = "sunday"

For i% = 1 To 7
 Print(day(i))
 DebugLog(day(i))
Next

WaitKey()

End()