I suspect that the code you have is intended for a different flavor of BASIC. There are a lot of them and they all have their own subtleties. I'll take a guess: the BASIC you're using doesn't allow dimming multiple arrays in one dim statement. Breaking it up into separate colon-separated statements should fix it:
210 DIM A(2): DIM B(2): DIM C(2): DIM D(2,100): DIM E(2,100): DIM F(2,100): DIM G$(100)
If that doesn't fix it, or if you prefer, break it into multiple lines. Then the line number in the new error message should narrow down the problematic part:
210 DIM A(2)
211 DIM B(2)
212 DIM C(2)
213 DIM D(2,100)
214 DIM E(2,100)
215 DIM F(2,100)
216 DIM G$(100)