- Posts: 114
- Thank you received: 8
- Forum
- CodeTyphon Studio
- CodeTyphon Studio Components and Libraries
- Scripting Development
- Compiler broken for array datatypes
Question Compiler broken for array datatypes
- universe
-
Topic Author
- Offline
- Junior Member
-
I've just noticed that Pascal Script engine is no more able to read arrays in version CT5.5, last tested in CT4.7 were it was working out of the box.
Thanks.
Please Log in or Create an account to join the conversation.
- universe
-
Topic Author
- Offline
- Junior Member
-
- Posts: 114
- Thank you received: 8
Please Log in or Create an account to join the conversation.
- Sternas Stefanos
-
- Away
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
we will test and report
PilotLogic Architect and Core Programmer
Please Log in or Create an account to join the conversation.
- universe
-
Topic Author
- Offline
- Junior Member
-
- Posts: 114
- Thank you received: 8
By the way I replaced the pl_PascalScript of CT5.5 by the same in CT4.7 but the problem remains, do I have to rebuild the IDE, or the bug is in FPC itself?
Please Log in or Create an account to join the conversation.
- Sternas Stefanos
-
- Away
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
we want more time for testing...

PilotLogic Architect and Core Programmer
Please Log in or Create an account to join the conversation.
- universe
-
Topic Author
- Offline
- Junior Member
-
- Posts: 114
- Thank you received: 8

Please Log in or Create an account to join the conversation.
- universe
-
Topic Author
- Offline
- Junior Member
-
- Posts: 114
- Thank you received: 8
Please Log in or Create an account to join the conversation.
- universe
-
Topic Author
- Offline
- Junior Member
-
- Posts: 114
- Thank you received: 8
Sternas Stefanos wrote: Sir
we want more time for testing...
The problem still exists in the latest release 5.6
Please Log in or Create an account to join the conversation.
- universe
-
Topic Author
- Offline
- Junior Member
-
- Posts: 114
- Thank you received: 8
Please Log in or Create an account to join the conversation.
- Sternas Stefanos
-
- Away
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
with CodeOcean small IDE sample
C:\codetyphon\CodeOcean\PascalScript\samples\a_small_ide
and we don't find any problem with test scripts
C:\codetyphon\CodeOcean\PascalScript\samples\a_small_ide\scripts
We don't know the "logic" of your app
CT 4.7 it's to old version
PilotLogic Architect and Core Programmer
Please Log in or Create an account to join the conversation.
- universe
-
Topic Author
- Offline
- Junior Member
-
- Posts: 114
- Thank you received: 8
Please Log in or Create an account to join the conversation.
- universe
-
Topic Author
- Offline
- Junior Member
-
- Posts: 114
- Thank you received: 8
Please Log in or Create an account to join the conversation.
- Sternas Stefanos
-
- Away
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
a) my opinion and our lab test show
that CT-FPC is more stable from FPC 3.0
b) please make a script to test with
C:\codetyphon\CodeOcean\PascalScript\samples\a_small_ide
like this
Program IFSTest;
type
TArrayOfString = array of String;
procedure Test(x: TArrayOfString);
var
i: integer;
begin
for i := 0 to Getarraylength(X) -1 do
begin
writeln(x[i]);
end;
end;
var
temp: TArrayOfString;
Begin
setarraylength(temp, 2);
temp[0] := 'Test1';
temp[1] := 'Test2';
test(temp);
End.
this sample work OK on 8 OSes
PilotLogic Architect and Core Programmer
Please Log in or Create an account to join the conversation.
- universe
-
Topic Author
- Offline
- Junior Member
-
- Posts: 114
- Thank you received: 8
Please Log in or Create an account to join the conversation.
- universe
-
Topic Author
- Offline
- Junior Member
-
- Posts: 114
- Thank you received: 8
Please Log in or Create an account to join the conversation.
- Sternas Stefanos
-
- Away
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
I can post screens from any OS you like.
PilotLogic Architect and Core Programmer
Please Log in or Create an account to join the conversation.
- universe
-
Topic Author
- Offline
- Junior Member
-
- Posts: 114
- Thank you received: 8
Please Log in or Create an account to join the conversation.
- universe
-
Topic Author
- Offline
- Junior Member
-
- Posts: 114
- Thank you received: 8
Please Log in or Create an account to join the conversation.
- Sternas Stefanos
-
- Away
- Moderator
-
- Ex Pilot, M.Sc, Ph.D
but here is not Lazarus Forum...
PilotLogic Architect and Core Programmer
Please Log in or Create an account to join the conversation.
- universe
-
Topic Author
- Offline
- Junior Member
-
- Posts: 114
- Thank you received: 8
Please Log in or Create an account to join the conversation.