Re: [fpc-pascal] How to convert ISO format string in FreePascal

2010-04-27 Thread José Mejuto
Hello FPC-Pascal, Tuesday, April 27, 2010, 5:43:30 PM, you wrote: FC I switched to using the unixtime value which is also present in the FC records I am using, but it does not allow for Daylight Savings Time FC and is currently an hour behind. Is there some way the FreePascal FC libraries can

Re[2]: [fpc-pascal] dynamic array contents and system.move

2010-04-25 Thread José Mejuto
Hello FPC-Pascal, Sunday, April 25, 2010, 6:29:26 PM, you wrote: I think there is a great difference between normal arrays and dynamic ones JH Yes, but it should not be like that. If you first declare a JH static array and then decide to make it a dynamic array then *no* JH code change should

Re[4]: [fpc-pascal] Published - Public

2010-04-16 Thread José Mejuto
Hello FPC-Pascal, Friday, April 16, 2010, 8:42:32 AM, you wrote: ZD What useful for put procedure in Publish? I do not know :-? I'll ask in the Lazarus list. -- Best regards, José ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re[6]: [fpc-pascal] Published - Public

2010-04-16 Thread José Mejuto
Hello FPC-Pascal, Friday, April 16, 2010, 9:06:45 PM, you wrote: FE Published methods can be found with TObject.MethodAddress, that's how FE the lfm hook event handlers (and why Form event handlers are FE published). Yes, but thats for streamable objects like TForm, or any component, but I

Re[2]: [fpc-pascal] Initializing a record-type variable to get rid of the false-positive compiler hint

2010-04-15 Thread José Mejuto
Hello FPC-Pascal, Thursday, April 15, 2010, 6:43:41 AM, you wrote: BA Thanks for your reply José, but what is the philosophy behind BA the solution? and What are the reasons for $PUSH and $POP? Also, I BA tried to remove the $HINTS directive, and it worked fine without BA it. Could you explain

[fpc-pascal] Published - Public

2010-04-15 Thread José Mejuto
Hello FPC-Pascal, If I have a class like: TMyClassPublished=class(TObject) published procedure MyProcedure; virtual; end; And a derived one: TMyClassDerived=class(TMyClassPublished) public procedure MyProcedure; override; end; Is there any difference in the derived one with less

Re[2]: [fpc-pascal] Published - Public

2010-04-15 Thread José Mejuto
Hello FPC-Pascal, Thursday, April 15, 2010, 11:57:01 PM, you wrote: TMyClassPublished=class(TObject) published procedure MyProcedure; virtual; end; And a derived one: TMyClassDerived=class(TMyClassPublished) public procedure MyProcedure; override; end; Is there any difference in

Re: [fpc-pascal] Initializing a record-type variable to get rid of the false-positive compiler hint

2010-04-14 Thread José Mejuto
Hello FPC-Pascal, Wednesday, April 14, 2010, 5:13:51 PM, you wrote: BA Supposing I have a record-type variable, could someone here BA tell me how to initialize it properly so that FPC could notice the BA initialization, since the FillByte() and FillChar() way do not BA cause FPC aware of it?

Re: [fpc-pascal] More memory leaks and other problems: request for review of probably stupid mistake

2010-03-31 Thread José Mejuto
Hello FPC-Pascal, Wednesday, March 31, 2010, 7:52:43 PM, you wrote: J I'm trying to learn FreePascal by writing a file indexer a la locate and J I'm hitting more walls after receiving quick and clear help from Michael J Van Canneyt regarding memory leaks. [...] J Call trace for block

Re: [fpc-pascal] tstringlist.savetostream

2010-03-16 Thread José Mejuto
Hello FPC-Pascal, Tuesday, March 16, 2010, 2:53:44 AM, you wrote: TAH After running tstringlist.savetostream how can I make sure that the TAH buffer has been flushed and data sent successfully? If the call returns everything has been saved, if not an exception should happend, but you can not

<    1   2   3