vbscript - class type errro

SUGGESTED

Sage 100 - 2014

Looks like Sage isn't accepting "class" in a postevent vbscript:

Class SalesRep
 Public email
 Public name
End Class

Can't find anything in my docs about why