Re: [fpc-pascal] JSON Web Token (JWT) implementation needed
> See: > > fcl-web/src/base/fpjwt.pp Ah, didn't notice this unit. Perhaps it was on the same batch as google API? Thanks anyway, always love FPC because of this provided non-trivial functionalities :) -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/JSON-Web-Token-JWT-implementation-needed-tp5723516p5723518.html Sent from the Free Pascal - General mailing list archive at Nabble.com. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
[fpc-pascal] try except end cannot handle Exception class name with "." Fatal: Syntax error, "DO" expected but "." found
I am using FPC 2.6.4 TMyClass =class public type EMyException=class(Exception); procedure DoSomething; end; procedure SomeProc; var aObj : TMyClass; begin try aObj := TMyClass.Create; aObj.DoSomething; except On E : TMyClass.EMyException do begin// this will raise Fatal: Syntax error, "DO" expected but "." found //some handling end; end; end; //but the following complies ok procedure SomeProc; var aObj : TMyClass; begin With TMyClass do try aObj := TMyClass.Create; aObj.DoSomething; except On E : EMyException do begin //some handling end; end; end; Is this problem solved in FPC 3.0? Dennis ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] try except end cannot handle Exception class name with "." Fatal: Syntax error, "DO" expected but "." found
Am 08.01.2016 04:53 schrieb "Dennis" : > Is this problem solved in FPC 3.0? Why don't you simply test it? FPC 3.0 is already released after all. And if it doesn't work then it would be best if you report a bug :) Regards, Sven ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal