Code:
comcon= 7
That line would certainly cause an error, not sure it's the one you get though. If that's actually what you put in your program (and not a forum typo) we might have found the problem.