Блог пользователя phankhai

Автор phankhai, 13 лет назад, По-английски

My code was compiled error but FPC 2.4.2 on my computer compiles normal .

code : 6671643

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

»
13 лет назад, скрыть # |
 
Проголосовать: нравится +5 Проголосовать: не нравится

You should probably look at the error provided by the compiler in this case. I don't know if there is an easier way, but you can use the custom invocation feature to see the compilation error:

http://codeforces.me/contest/431/customtest

program.pas(19,12) Fatal: Syntax error, "identifier" expected but "TRY" found

From which I deduce that you can't use try as a procedure name. (It's probably a reserved word because of try/except).