It would be
DIM $Result

No = sign. Declaring variables is up to you. It is suggested that you do though.