Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2009-05

pascal calling convention and code tools problem

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Bogusław Brandys

I'm not sure if that was reported , but if I declare :

      function  DoPascalCall(xa, xs, ys, xe, ye,ze, Tolerance : Integer)
: Boolean;pascal;

it break code tool , it doesn't allow to use class completion (Ctrl+shift+C)

error is :

pstestsimple.pas(28,90) Error: zamiast: : znaleziono: ;
which means that instead of : : found ;

Boguslaw

Reply by email

Mattias Gärtner
to Bogusław Brandys

Zitat von Bogus?aw Brandys :

Show quoted text 15 lines
I'm not sure if that was reported , but if I declare : function DoPascalCall(xa, xs, ys, xe, ye,ze, Tolerance : Integer) : Boolean;pascal; it break code tool , it doesn't allow to use class completion (Ctrl+shift+C) error is : pstestsimple.pas(28,90) Error: zamiast: : znaleziono: ; which means that instead of : : found ;

I didn't know that "pascal" is allowed for methods. I added it to the list. Use svn r19850.

Mattias

Reply by email

Bogusław Brandys
to Mattias Gärtner
Mattias G?rtner wrote 24 lines
Zitat von Bogus?aw Brandys : > I'm not sure if that was reported , but if I declare : > > function DoPascalCall(xa, xs, ys, xe, ye,ze, Tolerance : Integer) > : Boolean;pascal; > > > it break code tool , it doesn't allow to use class completion (Ctrl+shift+C) > > > error is : > > pstestsimple.pas(28,90) Error: zamiast: : znaleziono: ; > > > which means that instead of : : found ; I didn't know that "pascal" is allowed for methods. I added it to the list. Use svn r19850. Mattias

I didn't know that too ;-] but it works ! I know it's a bit strange but I'm testing Pascal Script ability to use various calling conventions under x86.

Regards
Boguslaw

Reply by email