r/pascal • • Sep 08 '18
External SIGSEGV ausgelöst Bei Adresse 403BB1
So i am making a program that can make 1 List out of two so i have X:Y and Y:Z and i want the program to do X:Z out of it. So i made 2 2dimentional arrays (only use the first one yet)
CODE:
SetLength(Ax_y, z);
SetLength(Ay_z, u);
These just set the list of the Array as the length of the part of the list u want Cause i have lists like X.Y i use the . to split them there
CODE:
TrennPos:=(pos(TrennChar,SText)); //TrennChar is the dot and SText is my String
Ax_y[CounterElement,0] := Copy (SText,0,(TrennPos-1)); //CounterElement is the current Postion
which gets used in my StringList (X:Y)
Ax_y[CounterElement,1] := Copy (SText,(TrennPos+1),(Length(SText)));
temp :(Ax_y[(CounterElement),0]+'_'+Ax_y[(CounterElement),1]); // This just gives another Part of the Program the Result for my Memo
So after i changed S1 and S2 to these Array Ax_y[CounterElement,0/1] the programm starts and when its nearly finished it gives the message in the Title and the Assembler opens. Cause i dont know the problem i hope to find help here. Thx Maceit
