[fpc-pascal] PascalScript - possible bug when using with FreePascal

Alexander Todorov alexx.todorov at gmail.com
Thu Jan 18 09:55:03 CET 2007


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:
alex at optical:~/temp$ ./project1
1

2


while it should be:
alex at optical:~/temp$ ./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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: project1.lpr
Type: application/octet-stream
Size: 1326 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20070118/c4baad51/attachment.obj>


More information about the fpc-pascal mailing list