Sign in Join

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

Mailing lists / fpc-pascal / 2007-01

PascalScript - possible bug when using with FreePascal

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

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

Alexander Todorov

Hello,
I am using PascalScript for a very big project written on Delphi. Now it is being ported to FreePascal and I found a problem. Maybe it is a bug.
The problem is: functions returning strings return empty string. In the example file the function MyFunc will always return and empty string. The output is:
./project1
1

2

while it should be:
./project1
1
MyFunc
2

I am using PascalScript from svn sources.

Have anyone used PascalScript with FPC ? Any advice / work around is welcome.

Greetings,
Alexander