This is obviously not valid. You should put pseudocode in comments, so it isn't confusing.