rdsteed / la-pe

Automatically exported from code.google.com/p/la-pe
0 stars 0 forks source link

Simba closes second time I run my script . #20

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What will reproduce the problem?

running the following script:
http://paste.villavu.com/show/3667/

line 33 will cause the error. The first time I run it will cause no errors and 
the expected outcome. The second time will close simba.

What is the expected output? What do you see instead?

Simba closes. Lazarus directs me to: lpeval -> line 475

procedure _LapeToString_Extended(const Params: PParamArray; const Result: 
Pointer); {$IFDEF Lape_CDECL}cdecl;{$ENDIF}
begin
  PlpString(Result)^ := FloatToStr(PExtended(Params^[0])^);
end;  

Which version are you using?

Pulled the latest with git.

Gr,
Bart de Boer,
masterBB

Original issue reported on code.google.com by bartdebo...@gmail.com on 5 Dec 2012 at 2:06

GoogleCodeExporter commented 8 years ago
As stated on IRC, the provided segment works perfectly fine for me with 
multiple iterations.

Original comment by mayazche...@gmail.com on 5 Dec 2012 at 2:23

GoogleCodeExporter commented 8 years ago
You're looping out of the array. Try looping until collums-1.

Original comment by niels....@gmail.com on 7 Dec 2012 at 10:40

GoogleCodeExporter commented 8 years ago

Original comment by niels....@gmail.com on 22 Dec 2012 at 7:09