Sign in Join

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

Mailing lists / lazarus / 1999-05

String Addition FCL Problem

18 messages · 7 people ·

Reply by email Subscribe to this list Your subscription

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

Peter Vreman
to Baeseman, Cliff: I will try to hack something together until we resolve this. I have to be able to append…
Show quoted text 7 lines
I will try to hack something together until we resolve this. I have to be able to append strings together. TiniFile would also be nice for building the config and project file but it has the H switch also. I have a copy of tinifile renamed so that I can use this until we figure this out. I am going to try and remove the switch tonight and see if I can use this renamed TIniFile.

I can't reproduce the error with the latest snapshot of the compiler, the tinifile works correct here. Did you recompile everything (also FCL) with a snapshot dated after 20 may ?

Peter

Show quoted text 50 lines
Cliff -----Original Message----- From: Peter Vreman Sent: Thursday, May 27, 1999 1:39 PM To: Subject: RE: [lazarus] String Addition FCL Problem > I was trying to generate a test app that was doing it last night. I then > removed the H switch a bang the problem went away. I also noticed that > TIniFile uses the > H Switch also. Any attemp to write a string using TIni will throw the error. > > obj := TIniFile.Create('/lazaruside/test.ini'); > obj.WriteString('Files','Units',mystr); > > > At the end of tini file is a statement to this effect. > > TheStringList.Add(brackets[0] + section + brackets[1]); > > > This unit does use the h switch the next thing for me to do is to remove it > and see if it will work correctly. > > > BTW this one does seem to be very stealth it only happens when things are > just right. It seems like it is a combination of things that causes the > error. I'll take a removing the $H+ switch will use shortstrings instead of ansistrings, i don't know if you'll like that ;) Peter _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Shane Miller

Some are not having this problem due to their system's config. I pulled an entirely new CVS FPC version and I can add strings, but again if I comment out line 337 in editor.pp it crashes. That line is adding strings together, but again, if I leave it IN it works, and when I comment it out it crashes. Odd huh?

Michael (or whomever) have you looked at this to determine if this is a FPC problem?

Shane

Earlier message 24 lines
-----Original Message----- From: Cliff Baeseman To: Date: Wednesday, May 26, 1999 6:33 PM Subject: [lazarus] String Addition FCL Problem >Is anyone else having this problem? > >every time I try to do something like this writeln(string + string >+string) I immediately throw a access violation. > >I even tried grabbing the latest snapshot and am having the same >results. > >This sucks ;( > >Cliff > >_________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus >

Reply by email

Peter Vreman
to Baeseman, Cliff: I used a snapshot that I grabbed last night from the web. I rebuilt gtk and FCL from web…
Show quoted text 6 lines
I used a snapshot that I grabbed last night from the web. I rebuilt gtk and FCL from web snapshots also. I can try again tonight If I have trouble I will try and reproduce the problem again. I am not sure of the date on the snapshot itself.

I can only get a crash when i load idesourceutil.pp as first file in the lazaruside. But i don't get why it would crash because the code generated for the ansitemps looks correct.

Peter

Show quoted text 87 lines
Cliff -----Original Message----- From: Peter Vreman Sent: Thursday, May 27, 1999 4:35 PM To: Subject: RE: [lazarus] String Addition FCL Problem > I will try to hack something together until we resolve this. > > I have to be able to append strings together. TiniFile would also be nice > for building the config and project file but it has the H switch also. I > have a copy of tinifile renamed so that I can use this until we figure this > out. I am going to try and remove the switch tonight and see if I can use > this renamed TIniFile. I can't reproduce the error with the latest snapshot of the compiler, the tinifile works correct here. Did you recompile everything (also FCL) with a snapshot dated after 20 may ? Peter > > Cliff > > -----Original Message----- > From: Peter Vreman > Sent: Thursday, May 27, 1999 1:39 PM > To: > Subject: RE: [lazarus] String Addition FCL Problem > > > > > I was trying to generate a test app that was doing it last night. I then > > removed the H switch a bang the problem went away. I also noticed that > > TIniFile uses the > > H Switch also. Any attemp to write a string using TIni will throw the > error. > > > > obj := TIniFile.Create('/lazaruside/test.ini'); > > obj.WriteString('Files','Units',mystr); > > > > > > At the end of tini file is a statement to this effect. > > > > TheStringList.Add(brackets[0] + section + brackets[1]); > > > > > > This unit does use the h switch the next thing for me to do is to remove > it > > and see if it will work correctly. > > > > > > BTW this one does seem to be very stealth it only happens when things are > > just right. It seems like it is a combination of things that causes the > > error. > I'll take a removing the $H+ switch will use shortstrings > instead of ansistrings, i don't know if you'll like that ;) > > Peter > > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus > _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Cliff Baeseman

Is anyone else having this problem?

every time I try to do something like this writeln(string + string +string) I immediately throw a access violation.

I even tried grabbing the latest snapshot and am having the same results.

This sucks ;(

Cliff

Reply by email

Baeseman, Cliff

I used a snapshot that I grabbed last night from the web.

I rebuilt gtk and FCL from web snapshots also. I can try again tonight If I have trouble I will try and reproduce the problem again. I am not sure of the
date on the snapshot itself.

Cliff

Earlier message 77 lines
-----Original Message----- From: Peter Vreman Sent: Thursday, May 27, 1999 4:35 PM To: Subject: RE: [lazarus] String Addition FCL Problem > I will try to hack something together until we resolve this. > > I have to be able to append strings together. TiniFile would also be nice > for building the config and project file but it has the H switch also. I > have a copy of tinifile renamed so that I can use this until we figure this > out. I am going to try and remove the switch tonight and see if I can use > this renamed TIniFile. I can't reproduce the error with the latest snapshot of the compiler, the tinifile works correct here. Did you recompile everything (also FCL) with a snapshot dated after 20 may ? Peter > > Cliff > > -----Original Message----- > From: Peter Vreman > Sent: Thursday, May 27, 1999 1:39 PM > To: > Subject: RE: [lazarus] String Addition FCL Problem > > > > > I was trying to generate a test app that was doing it last night. I then > > removed the H switch a bang the problem went away. I also noticed that > > TIniFile uses the > > H Switch also. Any attemp to write a string using TIni will throw the > error. > > > > obj := TIniFile.Create('/lazaruside/test.ini'); > > obj.WriteString('Files','Units',mystr); > > > > > > At the end of tini file is a statement to this effect. > > > > TheStringList.Add(brackets[0] + section + brackets[1]); > > > > > > This unit does use the h switch the next thing for me to do is to remove > it > > and see if it will work correctly. > > > > > > BTW this one does seem to be very stealth it only happens when things are > > just right. It seems like it is a combination of things that causes the > > error. > I'll take a removing the $H+ switch will use shortstrings > instead of ansistrings, i don't know if you'll like that ;) > > Peter > > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus > _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Cliff Baeseman
to Shane Miller: Some are not having this problem due to their system's config. I pulled an entirely new…

I give up this is rediculous. I cannot do anything further until that is fixed.

"And I do not give up very easy"

I just cannot do any operations without strings working properly.

Cliff

Cliff Baeseman wrote 61 lines
I am going to try to hack around it some how. Maybe create a pchar and strcat the strings together so that I can use it. I cannot run the compiler until I figure out how to hack around it. It is also keeping TIniFile From working also. It tries to add some strings together at the bottom of the writestring procedure and blows out of the water. TStrings.SaveToFile works pretty well. I am using that to generate a sequential writtten project file because I cannot run TIniFile. I can hack around it but it is sure trying my nerves. Cliff Shane Miller wrote: > Some are not having this problem due to their system's config. I pulled an > entirely new CVS FPC version and I can add strings, but again if I comment > out line 337 in editor.pp it crashes. That line is adding strings together, > but again, if I leave it IN it works, and when I comment it out it crashes. > Odd huh? > > Michael (or whomever) have you looked at this to determine if this is a FPC > problem? > > Shane > > -----Original Message----- > From: Cliff Baeseman > To: > Date: Wednesday, May 26, 1999 6:33 PM > Subject: [lazarus] String Addition FCL Problem > > >Is anyone else having this problem? > > > >every time I try to do something like this writeln(string + string > >+string) I immediately throw a access violation. > > > >I even tried grabbing the latest snapshot and am having the same > >results. > > > >This sucks ;( > > > >Cliff > > > >_________________________________________________________________ > > To unsubscribe: mail with > > "unsubscribe" as the Subject > > archives at http://www.miraclec.com/list_archives/lazarus > > > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Payne Thomas E CNIN

Michael,

Take a starting at line 100. It looks as though a FILE CLOSE is supposed to start the compiler. I see some hard coded paths that do not match my own. That's all I have time for today.

Tom

Show quoted text 41 lines
-----Original Message----- From: Michael A. Hess Sent: Friday, May 28, 1999 8:35 AM To: Cc: Cliff Baeseman Subject: Re: [lazarus] String Addition FCL Problem "Call off the dogs" Cliff Baeseman wrote: > > Compiler Is integrated. > > I am also running the result of the compile thru the lex analyzer and > highlighting the errrors in red when displaying > to the compiler output window. Cliff, maybe I'm being a moron here but, how, what, where, all the usual questions. I unziped the laz.zip file you attached to that email but I have to say it doesn't do anything. For one it still cores on me. I didn't get the latest code out of CVS this morning I'll do that after this big download I am doing is finished. However that aside the program doesn't seem to do anything. You say you added the compiler, where? There isn't any options, buttons, controls or anything to make it compile. There isn't anything under the projects button. The end of the idecompiler.pp file is nothing but line after line of garbage data. So what the heck are you looking at that you didn't put in the laz.zip file? -- ==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Baeseman, Cliff

I was trying to generate a test app that was doing it last night. I then removed the H switch a bang the problem went away. I also noticed that TIniFile uses the
H Switch also. Any attemp to write a string using TIni will throw the error.

obj := TIniFile.Create('/lazaruside/test.ini');
obj.WriteString('Files','Units',mystr);

At the end of tini file is a statement to this effect.

TheStringList.Add(brackets[0] + section + brackets[1]);

This unit does use the h switch the next thing for me to do is to remove it and see if it will work correctly.

BTW this one does seem to be very stealth it only happens when things are just right. It seems like it is a combination of things that causes the error.

Cliff

Earlier message 46 lines
-----Original Message----- From: Michael Van Canneyt Sent: Thursday, May 27, 1999 6:53 AM To: Subject: Re: [lazarus] String Addition FCL Problem On Thu, 27 May 1999, Cliff Baeseman wrote: > I give up this is rediculous. I cannot do anything further until that is fixed. > > "And I do not give up very easy" > > I just cannot do any operations without strings working properly. !!! PLEASE SEND CODE !!! I am willing to fix stuff, but I need explicit code that shows the bug. Saying that S1:=S2+S3+S4; doesn't work is not enough. I can successfully compile and run such statements. I need to know in what circumstances the error occurs. I need to see the code, so I can check what assembler is generated. Important questions are - Is it in a procedure or not ? - Is it in a With statement or not ? - Is it in a Class method or not ? - Does it involve short strings or pchars as well ? And so on. We have a large ansistring test program which does all kinds of tests, and these run fine. Unless I have some example code which shows what goes wrong, I cannot do anything. Michael. _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Michael A. Hess
to Baeseman, Cliff: Calm down ;) If you wish to use it you will have to hack in the proper paths inside of the
Cliff wrote
Calm down ;)

Pant! Pant! Drool! That's hard to do. ;-)

If you wish to use it you will have to hack in the proper paths inside of the lazaruside unit the mnuCloseEvent will fire the compiler based on the stuff you sent to the object.

OK got it. I ran it again and checked and that is where it was seg. faulting, when I was trying to close the file. I guess because some path information isn't correct it was getting unhappy. If I have any more time today I'll try and play with it. Other wise I won't get to it until maybe Monday. Holiday weekend and all that. :-)

Talk at you later,

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email

Baeseman, Cliff

by monday I will have the LCL and the whole visual designer done...

Just kidding ... I wish!

Cliff

Earlier message 34 lines
-----Original Message----- From: Michael A. Hess Sent: Friday, May 28, 1999 10:15 AM To: Subject: Re: [lazarus] String Addition FCL Problem "Call off the dogs" Baeseman, Cliff wrote: > > Calm down ;) Pant! Pant! Drool! That's hard to do. ;-) > If you wish to use it you will have to hack in the proper paths inside > of the lazaruside unit the mnuCloseEvent will fire the compiler based > on the stuff you sent to the object. OK got it. I ran it again and checked and that is where it was seg. faulting, when I was trying to close the file. I guess because some path information isn't correct it was getting unhappy. If I have any more time today I'll try and play with it. Other wise I won't get to it until maybe Monday. Holiday weekend and all that. :-) Talk at you later, -- ==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Baeseman, Cliff

I will try to hack something together until we resolve this.

I have to be able to append strings together. TiniFile would also be nice for building the config and project file but it has the H switch also. I have a copy of tinifile renamed so that I can use this until we figure this out. I am going to try and remove the switch tonight and see if I can use this renamed TIniFile.

Cliff

Earlier message 41 lines
-----Original Message----- From: Peter Vreman Sent: Thursday, May 27, 1999 1:39 PM To: Subject: RE: [lazarus] String Addition FCL Problem > I was trying to generate a test app that was doing it last night. I then > removed the H switch a bang the problem went away. I also noticed that > TIniFile uses the > H Switch also. Any attemp to write a string using TIni will throw the error. > > obj := TIniFile.Create('/lazaruside/test.ini'); > obj.WriteString('Files','Units',mystr); > > > At the end of tini file is a statement to this effect. > > TheStringList.Add(brackets[0] + section + brackets[1]); > > > This unit does use the h switch the next thing for me to do is to remove it > and see if it will work correctly. > > > BTW this one does seem to be very stealth it only happens when things are > just right. It seems like it is a combination of things that causes the > error. I'll take a removing the $H+ switch will use shortstrings instead of ansistrings, i don't know if you'll like that ;) Peter _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Shane Miller

Michael have you tried my source where you comment out line 337 and it crashes?

Can you use that and debug it to see if there is a problem? Like I said, it's a really odd occurance and I hate to try to recreate it.

Shane

>> Michael Van Canneyt 05/27 6:51 AM >>>
Cliff Baeseman wrote 5 lines
I give up this is rediculous. I cannot do anything further until that is fixed. "And I do not give up very easy" I just cannot do any operations without strings working properly.

!!! PLEASE SEND CODE !!!

I am willing to fix stuff, but I need explicit code that shows the bug.

Saying that
S1:=S2+S3+S4;
doesn't work is not enough. I can successfully compile and run such statements. I need to know in what circumstances the error occurs. I need to see the code, so I can check what assembler is generated.

Important questions are
- Is it in a procedure or not ?
- Is it in a With statement or not ?
- Is it in a Class method or not ?
- Does it involve short strings or pchars as well ? And so on.

We have a large ansistring test program which does all kinds of tests, and these run fine. Unless I have some example code which shows what goes wrong, I cannot do anything.

Michael.

_________________________________________________________________ To unsubscribe: mail with
"unsubscribe" as the Subject
archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Peter Vreman
to Baeseman, Cliff: I was trying to generate a test app that was doing it last night. I then removed the H…
Show quoted text 21 lines
I was trying to generate a test app that was doing it last night. I then removed the H switch a bang the problem went away. I also noticed that TIniFile uses the H Switch also. Any attemp to write a string using TIni will throw the error. obj := TIniFile.Create('/lazaruside/test.ini'); obj.WriteString('Files','Units',mystr); At the end of tini file is a statement to this effect. TheStringList.Add(brackets[0] + section + brackets[1]); This unit does use the h switch the next thing for me to do is to remove it and see if it will work correctly. BTW this one does seem to be very stealth it only happens when things are just right. It seems like it is a combination of things that causes the error.

I'll take a removing the $H+ switch will use shortstrings instead of ansistrings, i don't know if you'll like that ;)

Peter

Reply by email

Michael Van Canneyt
to Cliff Baeseman: I give up this is rediculous. I cannot do anything further until that is fixed. "And I…
Cliff Baeseman wrote 5 lines
I give up this is rediculous. I cannot do anything further until that is fixed. "And I do not give up very easy" I just cannot do any operations without strings working properly.

!!! PLEASE SEND CODE !!!

I am willing to fix stuff, but I need explicit code that shows the bug.

Saying that
S1:=S2+S3+S4;
doesn't work is not enough. I can successfully compile and run such statements. I need to know in what circumstances the error occurs. I need to see the code, so I can check what assembler is generated.

Important questions are
- Is it in a procedure or not ?
- Is it in a With statement or not ?
- Is it in a Class method or not ?
- Does it involve short strings or pchars as well ? And so on.

We have a large ansistring test program which does all kinds of tests, and these run fine. Unless I have some example code which shows what goes wrong, I cannot do anything.

Michael.

Reply by email

Baeseman, Cliff

Calm down ;)

If you wish to use it you will have to hack in the proper paths inside of the
lazaruside unit the mnuCloseEvent will fire the compiler based on the stuff you
sent to the object. Yes I did say on the close. It is not by no means a production
type system I still have the config file and get project files built into it.

As for the core that is really bugging me. I cannot get it to explode no matter what I do someone else will probably have to step it down.

So menu close will fire the compiler. I was using the close event "well just because I had it there already." I will put in the proper menu items tonight. But I can tell you it is a pure joy to not have to go to a command line to do anything. On my machine I keep a copy seperated from the ide source. Once I have a stable version I copy over my existing one and come up on that one. It is sort of a weird feeling compiling and editing code in the app for which you are compiling.

lazout.put is where the compiler output gets spewed to. The ide then opens the file and
parses and displays it.

Sorry about the confusion. Close fires the compiler for the moment!

Cliff

Earlier message 41 lines
-----Original Message----- From: Michael A. Hess Sent: Friday, May 28, 1999 8:35 AM To: Cc: Cliff Baeseman Subject: Re: [lazarus] String Addition FCL Problem "Call off the dogs" Cliff Baeseman wrote: > > Compiler Is integrated. > > I am also running the result of the compile thru the lex analyzer and > highlighting the errrors in red when displaying > to the compiler output window. Cliff, maybe I'm being a moron here but, how, what, where, all the usual questions. I unziped the laz.zip file you attached to that email but I have to say it doesn't do anything. For one it still cores on me. I didn't get the latest code out of CVS this morning I'll do that after this big download I am doing is finished. However that aside the program doesn't seem to do anything. You say you added the compiler, where? There isn't any options, buttons, controls or anything to make it compile. There isn't anything under the projects button. The end of the idecompiler.pp file is nothing but line after line of garbage data. So what the heck are you looking at that you didn't put in the laz.zip file? -- ==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Cliff Baeseman
to Peter Vreman: I can only get a crash when i load idesourceutil.pp as first file in the lazaruside. But…

I pulled a new snapshot from the web copied over the rtl and compiler and now everything works just fine.

It is running very stable now and TIniFile is working for me also. I was able to integrate the compiler with the IDE last night
and I can tell you gents that I am not using a text editor or command prompt anymore.

Some additons last night.

Compiler Is integrated.

I am also running the result of the compile thru the lex analyzer and highlighting the errrors in red when displaying
to the compiler output window.

Cliff is one happy programmer.

Cliff

Peter Vreman wrote 104 lines
> I used a snapshot that I grabbed last night from the web. > > I rebuilt gtk and FCL from web snapshots also. I can try again tonight > If I have trouble I will try and reproduce the problem again. I am not sure > of the > date on the snapshot itself. I can only get a crash when i load idesourceutil.pp as first file in the lazaruside. But i don't get why it would crash because the code generated for the ansitemps looks correct. Peter > > Cliff > > > -----Original Message----- > From: Peter Vreman > Sent: Thursday, May 27, 1999 4:35 PM > To: > Subject: RE: [lazarus] String Addition FCL Problem > > > > I will try to hack something together until we resolve this. > > > > I have to be able to append strings together. TiniFile would also be nice > > for building the config and project file but it has the H switch also. I > > have a copy of tinifile renamed so that I can use this until we figure > this > > out. I am going to try and remove the switch tonight and see if I can use > > this renamed TIniFile. > I can't reproduce the error with the latest snapshot of the compiler, the > tinifile works correct here. Did you recompile everything (also FCL) with > a snapshot dated after 20 may ? > > Peter > > > > > Cliff > > > > -----Original Message----- > > From: Peter Vreman > > Sent: Thursday, May 27, 1999 1:39 PM > > To: > > Subject: RE: [lazarus] String Addition FCL Problem > > > > > > > > > I was trying to generate a test app that was doing it last night. I then > > > removed the H switch a bang the problem went away. I also noticed that > > > TIniFile uses the > > > H Switch also. Any attemp to write a string using TIni will throw the > > error. > > > > > > obj := TIniFile.Create('/lazaruside/test.ini'); > > > obj.WriteString('Files','Units',mystr); > > > > > > > > > At the end of tini file is a statement to this effect. > > > > > > TheStringList.Add(brackets[0] + section + brackets[1]); > > > > > > > > > This unit does use the h switch the next thing for me to do is to remove > > it > > > and see if it will work correctly. > > > > > > > > > BTW this one does seem to be very stealth it only happens when things > are > > > just right. It seems like it is a combination of things that causes the > > > error. > > I'll take a removing the $H+ switch will use shortstrings > > instead of ansistrings, i don't know if you'll like that ;) > > > > Peter > > > > > > _________________________________________________________________ > > To unsubscribe: mail with > > "unsubscribe" as the Subject > > archives at http://www.miraclec.com/list_archives/lazarus > > > > _________________________________________________________________ > > To unsubscribe: mail with > > "unsubscribe" as the Subject > > archives at http://www.miraclec.com/list_archives/lazarus > > > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus > > _________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus > _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: zip00005.zip
Type: application/octet-stream
Size: 14034 bytes
Desc: "laz.zip"
Url : http://localhost/pipermail/lazarus/attachments/19990528/0f82bb3c/zip00005.obj

Reply by email

Cliff Baeseman
to Shane Miller: Some are not having this problem due to their system's config. I pulled an entirely new…

I am going to try to hack around it some how. Maybe create a pchar and strcat the strings together so that I can use it.

I cannot run the compiler until I figure out how to hack around it.

It is also keeping TIniFile From working also. It tries to add some strings together at the bottom of the writestring procedure and blows out of the water.

TStrings.SaveToFile works pretty well. I am using that to generate a sequential writtten project file because I cannot run TIniFile.

I can hack around it but it is sure trying my nerves.

Cliff

Shane Miller wrote 39 lines
Some are not having this problem due to their system's config. I pulled an entirely new CVS FPC version and I can add strings, but again if I comment out line 337 in editor.pp it crashes. That line is adding strings together, but again, if I leave it IN it works, and when I comment it out it crashes. Odd huh? Michael (or whomever) have you looked at this to determine if this is a FPC problem? Shane -----Original Message----- From: Cliff Baeseman To: Date: Wednesday, May 26, 1999 6:33 PM Subject: [lazarus] String Addition FCL Problem >Is anyone else having this problem? > >every time I try to do something like this writeln(string + string >+string) I immediately throw a access violation. > >I even tried grabbing the latest snapshot and am having the same >results. > >This sucks ;( > >Cliff > >_________________________________________________________________ > To unsubscribe: mail with > "unsubscribe" as the Subject > archives at http://www.miraclec.com/list_archives/lazarus > _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Michael A. Hess
to Peter Vreman: I can only get a crash when i load idesourceutil.pp as first file in the lazaruside. But…
Cliff Baeseman wrote 6 lines
Compiler Is integrated. I am also running the result of the compile thru the lex analyzer and highlighting the errrors in red when displaying to the compiler output window.

Cliff, maybe I'm being a moron here but, how, what, where, all the usual questions. I unziped the laz.zip file you attached to that email but I have to say it doesn't do anything. For one it still cores on me. I didn't get the latest code out of CVS this morning I'll do that after this big download I am doing is finished.

However that aside the program doesn't seem to do anything. You say you added the compiler, where? There isn't any options, buttons, controls or anything to make it compile. There isn't anything under the projects button. The end of the idecompiler.pp file is nothing but line after line of garbage data.

So what the heck are you looking at that you didn't put in the laz.zip file?

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email