On Dec 21, 2007, at 2:47 PM, Daniël Mantione wrote:
Op Fri, 21 Dec 2007, schreef Damien Gerard:
Just another question :)
What is the most efficient way to check if a string is empty or not ?
if s = '' then ...
of this one
if Length(s) <> 0 then ...
Both generate the same code.
Thanks
Op Fri, 21 Dec 2007, schreef Damien Gerard:
>
> Just another question :)
> What is the most efficient way to check if a string is empty or not ?
>
> if s = '' then ...
> of this one
> if Length(s) <> 0 then ...
Both generate the same code.
Daniël__
Just another question :)
What is the most efficient way to check if a string is empty or not ?
if s = '' then ...
of this one
if Length(s) <> 0 then ...
--
Damien Gerard
[EMAIL PROTECTED]
People who used magic without knowing what they were doing usually
came to a sticky end. All over the e
Am Freitag, den 05.05.2006, 10:57 +0300 schrieb Geno Roupsky:
>
>
> 2006/5/3, Marc Santhoff <[EMAIL PROTECTED]>:
> Hi,
>
> from digging the sources I know, that on Unix-like Systems the
> comparison of strings is done according to the current locale
> (Pas
2006/5/3, Marc Santhoff <[EMAIL PROTECTED]>:
Hi,from digging the sources I know, that on Unix-like Systems thecomparison of strings is done according to the current locale (Pascals"strcomp" is mapped to C-libs "strcoll").Can I assume that this is done similar on all other platforms, too?
At least w
Hi,
from digging the sources I know, that on Unix-like Systems the
comparison of strings is done according to the current locale (Pascals
"strcomp" is mapped to C-libs "strcoll").
Can I assume that this is done similar on all other platforms, too?
I'm asking myself if I have to consider somethin
Am Mo, den 11.04.2005 schrieb Matthias Hryniszak um 18:06:
> > Do you use that one with fpc? The source looks rather Delphi/Kylix'ish.
>
> Nope, but I guess you can find there the solution for it. Just get the
> GNUGetText.pas and look for changes made in version 1.2. Since this version
> GNUGetTe
To: "FPC-Pascal users discussions"
Sent: Monday, April 11, 2005 8:56 AM
Subject: Re: [fpc-pascal] string comparison with strcomp
Trying again, third time the server was blacklisted ...
Hi Matthias,
Am So, den 10.04.2005 schrieb Matthias Hryniszak um 17:06:
You might look at the GN
Am So, den 10.04.2005 schrieb Marc Santhoff um 01:00:
> > I reported this a long time ago, and got an answer like: gettext doesn't
> > accept source strings in UTF-8.
>
> Ah, I see. This inspired me to do some further tests and I found a
> solution that is more acceptable than doing what I don't w
Trying again, third time the server was blacklisted ...
Hi Matthias,
Am So, den 10.04.2005 schrieb Matthias Hryniszak um 17:06:
> You might look at the GNUGetText for Delphi - they have solved the problem
> of non-english source identifiers.
Thanks for your hint.
Do you use that one with fpc?
You might look at the GNUGetText for Delphi - they have solved the problem
of non-english source identifiers.
Matthias.
- Original Message -
From: "John Coppens" <[EMAIL PROTECTED]>
To: "FPC-Pascal users discussions"
Sent: Sunday, April 10, 2005 12:05 A
Am So, den 10.04.2005 schrieb John Coppens um 00:05:
> Hallo Marc,
Hi John,
> I reported this a long time ago, and got an answer like: gettext doesn't
> accept source strings in UTF-8.
Ah, I see. This inspired me to do some further tests and I found a
solution that is more acceptable than doing
Hallo Marc,
I reported this a long time ago, and got an answer like: gettext doesn't
accept source strings in UTF-8.
The easiest way to solve it is to write the program in English (with
english on buttons, etc) and then write a po file for german. I know, I
know, not elegant or easy, but it works.
Hi,
I'm stuck with some sort of nasty problem:
While doing internationalization in a program planned only for german
users I started to use the gettext mechanism to translate any
descriptive GUI string. The mean part is that my original strings (now
used as resourcestrings) do not work if they ha
14 matches
Mail list logo