Creating a Record where field name is a reserved keyword

As the compiler says, that is not valid syntax. Typically people change the name slightly to avoid clashing with a reserved keyword. Eg, you could use the name class_ or cls.

1 Like