On Fri, Apr 24, 2009 at 12:07 AM, Paul Ishenin webpi...@mail.ru wrote:
What help? JCF is integrated into lazarus IDE and you can use it either
from menu item or by pressing key combination (default = Ctrl + D).
Default format style file is placed in the lazarus directory
JCFSettings.cfg.
Hi,
I'm using the same JCFSettings.cfg file as created with
jcfNotepad.exe. I symlinked my config file in the ~/.lazarus/
directory.
When I run jcfNotepad.exe, I get the correct formatting. When I run
JCF via (Ctrl+D) using the same JCFSettings.cfg file, I get undesired
formatting as shown
Hi,
When I run jcfNotepad.exe, I get the correct formatting. When I run
JCF via (Ctrl+D) using the same JCFSettings.cfg file, I get undesired
formatting as shown below.
Attached is my JCFSettings.cfg file.
Regards,
- Graeme -
___
fpGUI - a
On Thu, Apr 23, 2009 at 7:32 PM, Graeme Geldenhuys
graemeg.li...@gmail.com wrote:
On Thu, Apr 23, 2009 at 4:51 PM, Luca Olivetti l...@wetron.es wrote:
scary. Try and do multi-currency calculations with a Currency type.
Just out of curiosity, where's the problem?
Regards,
Gerard.
On Fri, Apr 24, 2009 at 12:01 PM, Gerard N/A gerardusmerca...@gmail.com wrote:
I don't get it. Why would you add USD and GBP and assign the result to
a variable wich is supposed to hold Euros?
Think in terms of an accounting application that supports billing in
multiple currencies. Or clients
On Fri, Apr 24, 2009 at 12:32 PM, Graeme Geldenhuys
graemeg.li...@gmail.com wrote:
Now similar issue can be applied to TDateTime and String types. All I
can say is thank goodness for Value Type Frameworks which get around
these problems. Business objects are defined using class types instead
On Friday 24 April 2009 12:52:48 Gerard N/A wrote:
Indeed. My dream would be to have some sort of extendable RTTI or at
least nulalble types.
MSEgui uses -Inf as null-TDatetime and null-double values which solves some of
the problems.
Martin
___
On Fri, Apr 24, 2009 at 10:50 AM, Graeme Geldenhuys
graemeg.li...@gmail.com wrote:
Example #1
--
var
cUSD: Currency;
cGBP: Currency;
cEuro: Currency;
cSum: Currency;
begin
cUSD := 1.00;
cGBP := 1.00;
cEuro := cUSD + cGBP;
cSum := cUSD + cGBP;
Problem #1:
On Fri, Apr 24, 2009 at 10:15 AM, Gerard N/A gerardusmerca...@gmail.com wrote:
scary. Try and do multi-currency calculations with a Currency type.
Just out of curiosity, where's the problem?
Example #1
--
var
cUSD: Currency;
cGBP: Currency;
cEuro: Currency;
cSum:
Hm?
TYPE TSomethingArr = ARRAY OF TSomeItem;
declares a dynamic arrays. Dynamic arrays are implicit pointers, so
should be used carefully in streaming operations.
this should fix your problem:
FUNCTION TMyObject.LoadFromStream (Stream:TStream):BOOLEAN;
...
SetLength (FItems, 0);
// make
Am Freitag, 24. April 2009 15:11 schrieb dmitry boyarintsev:
Hm?
TYPE TSomethingArr = ARRAY OF TSomeItem;
declares a dynamic arrays. Dynamic arrays are implicit pointers, so
should be used carefully in streaming operations.
this should fix your problem:
FUNCTION TMyObject.LoadFromStream
Roland Turcan pisze:
Hello Bart and others,
Thanks for your kindness to test my test case, which works fine in my
case too, but I have found something what maybe more explain my
problem.
TYPE TSomeItem = RECORD
First :single;
Second:Single;
Roland Turcan wrote:
Hello Bart and others,
Thanks for your kindness to test my test case, which works fine in my
case too, but I have found something what maybe more explain my
problem.
maybe? This does most certainly explain your problem, see below
TYPE TSomeItem = RECORD
24.4.2009 15:30 - Bogusław Brandys bran...@o2.pl
BB Roland Turcan pisze:
Hello Bart and others,
Thanks for your kindness to test my test case, which works fine in my
case too, but I have found something what maybe more explain my
problem.
TYPE TSomeItem = RECORD
Stream.Read (HeaderLen, SIZEOF (HeaderLen));
where information header's length is stored into binary.
HeaderLen is integer, right?
have you checked HeaderLen being large that sizeof(TSomeHeader)
it's possible, especiialy for Mac files, because of PowerPC and some
structures may use Big-endian
Hello Dmitry,
24.4.2009 16:17 - dmitry boyarintsev skalogryz.li...@gmail.com
Stream.Read (HeaderLen, SIZEOF (HeaderLen));
where information header's length is stored into binary.
db HeaderLen is integer, right?
db have you checked HeaderLen being large that sizeof(TSomeHeader)
Of course,
Dear all,
I have a cross-platform console application project.
The project were compiled with no problem but actually when I compile it
I get the following errors (WinXp lazarus svn fpc 2.2.4).
I got this error both with fpc 2.2.2 and fpc 2.2.4, I don't know exactly
when this error appears (the
Roland Turcan pisze:
Hello Dmitry,
24.4.2009 16:17 - dmitry boyarintsev skalogryz.li...@gmail.com
Stream.Read (HeaderLen, SIZEOF (HeaderLen));
where information header's length is stored into binary.
db HeaderLen is integer, right?
db have you checked HeaderLen being large that
Andrea Mauri schreef:
Dear all,
I have a cross-platform console application project.
The project were compiled with no problem but actually when I compile it
I get the following errors (WinXp lazarus svn fpc 2.2.4).
I got this error both with fpc 2.2.2 and fpc 2.2.4, I don't know exactly
On Fri, 24 Apr 2009 19:22:35 +0200
Vincent Snijders vincent.snijd...@gmail.com wrote:
Andrea Mauri schreef:
Dear all,
I have a cross-platform console application project.
The project were compiled with no problem but actually when I
compile it I get the following errors (WinXp lazarus
Could i use my comments/class completion in-line (ctrl+space), etc ?
Em Qui, 2009-04-23 às 23:05 +0200, Graeme Geldenhuys escreveu:
On Thu, Apr 23, 2009 at 8:05 PM, Osvaldo Filho arquivos...@gmail.com wrote:
jcf - Jedi Code Format
There has been work done on integrating jcf into the
On Fri, 24 Apr 2009 15:15:30 -0300
Osvaldo Filho arquivos...@gmail.com wrote:
Could i use my comments/class completion in-line (ctrl+space), etc ?
I don't understand.
Can you give more details / an example.
Mattias
___
Lazarus mailing list
Roland Turcan schrieb:
BB How is HeaderLen declared ?
Stream.Read (HeaderLen, SIZEOF (HeaderLen));
where information header's length is stored into binary.
The you should verify that HeaderLen = SizeOf(FHeader), before
Stream.Read (FHeader, HeaderLen);
Otherwise this statement will
Roland Turcan schrieb:
TYPE TMyObject =class
private
FHeader:TSomeHeader;
FItems :TSomethingArr;
...
FUNCTION TMyObject.LoadFromStream (Stream:TStream):BOOLEAN;
...
SetLength (FItems, 0); //!! for testing only -- this line works
thanks to all,
andrea
Mattias Gaertner ha scritto:
On Fri, 24 Apr 2009 19:22:35 +0200
Vincent Snijders vincent.snijd...@gmail.com wrote:
Andrea Mauri schreef:
Dear all,
I have a cross-platform console application project.
The project were compiled with no problem but actually
Graeme Geldenhuys schrieb:
You would need to know at least what is the exchange rate for a given
conversion.
And the currency type and the rounding method use (maybe even per
currency) and the preferred decimal numbers used (again maybe per
currency) etc...
Monetary calculations often are
Andrea Mauri schreef:
thanks to all,
How did you solve it?
Vincent
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
27 matches
Mail list logo