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

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

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

code : 6671643

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

»
11 лет назад, # |
  Проголосовать: нравится +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://mirror.codeforces.com/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).

  • »
    »
    11 лет назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    I think it does not affect, I still compile normally on FPC 2.4.2 and on many other compilers