phankhai's blog

By phankhai, 10 years ago, In English

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

code : 6671643

  • Vote: I like it
  • 0
  • Vote: I do not like it

»
10 years ago, # |
  Vote: I like it +5 Vote: I do not like it

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.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).

  • »
    »
    10 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

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