Parse error when variable names contain unlock
mainAgent {
int unlock_a; // declaration works fine
unlock_a = 3; // fails with message below
}
Error message:
error in line 3: OldSyntax: You have used an old syntax. Primitive statements are no longer supported. Instead use a procedure call named exactly as the statement you tried to use. For a complete list of changes look here. (in column 5)
Edited by Gregory Stock