On 11/06/2013 01:40 PM, Martin Schreiber wrote:
string8, string16 and string32.
string8 is utf-8 encoded, string16 utf-16, string32 ucs4.
This ask for three versions of RTL provided classes like TStringlist
(and in fact TStrings) , so that the user who decides to use one of the
three
On Thursday 07 November 2013 09:29:29 Michael Schnell wrote:
On 11/06/2013 01:40 PM, Martin Schreiber wrote:
string8, string16 and string32.
string8 is utf-8 encoded, string16 utf-16, string32 ucs4.
This ask for three versions of RTL provided classes like TStringlist
(and in fact
integer = sint32;
What for ? How about longest harware supported type (found by compiler
automatically for target architcture ) ?
--
November Webinars for C, C++, Fortran Developers
Accelerate application
On Thursday 07 November 2013 09:53:48 Ivanko B wrote:
integer = sint32;
What for ? How about longest harware supported type (found by compiler
automatically for target architcture ) ?
{$if REGISTERSIZE = 64}
integer = sint64;
{$else}
integer = sint32;
{endif}
Why do you
Why do you want that integer has different sizes on different platforms?
==
The BASE (no user attention about range) integer. Not ranged one.
{$if REGISTERSIZE = 64}
==
User attention about range. Knowing underlying arch. Can be (and will
be) done by compliler
On Thursday 07 November 2013 10:24:38 Ivanko B wrote:
Why do you want that integer has different sizes on different platforms?
==
The BASE (no user attention about range) integer. Not ranged one.
The user *must* have an attention about range. So this type can not be the
base.
On 11/07/2013 09:42 AM, Martin Schreiber wrote:
MSEgui doesn't use tstringlist, there is a tmsestringdatalist
I don't know msegui well enough to see what this exactly means.
Delphi and Lazarus and most programs done with these tools use TStrings
all over the place (including, but not
On Thursday 07 November 2013 12:02:01 Michael Schnell wrote:
If mseLang does not have a native (and ambiguous) type String, but
three or more different ones, what should the user do to port his
programs ?
Use the appropriate framework.
If tmsestringdatalist is to be used completely
On 11/07/2013 12:56 PM, Martin Schreiber wrote:
There possibly will be no TStrings in MSElang RTL.
As providing TStrings similar to the different types of same in D7, DXE
and Lazarus/fpc without creating sever ambiguity is close to impossible,
this is OK.
If a user wants to port a program he
On Thursday 07 November 2013 14:01:07 Ivanko B wrote:
The user *must* have an attention about range. So this type can not be the
base.
Why ? Both my large projects PODPISKA ROZNITSA don't care about
value ranges - they just rely on the default INTEGER type LONGINT (or
On Thursday 07 November 2013 13:08:07 Michael Schnell wrote:
If a user wants to port a program he did using one of these Frameworks
and he used e.g. TStringList, he thus is required to
- do a Type statement to make his String variables get the desired
mseLang Type (string8, String16 or
i am not a mac user ,i think it would be alien but just for the first time
.
btw , macosx has x11 lib ? , since it is unix based
2013/11/6 Martin Schreiber mse00...@gmail.com
On Wednesday 06 November 2013 18:52:05 misu kun wrote:
hi Martin
any chance to see Mac version someday ?
I read
Both my large projects PODPISKA ROZNITSA don't care about
value ranges - they just rely on the default INTEGER type LONGINT (or
CARDINAL for unsigned data) fits any data of these projects.
Compile in default TP mode and you will be surprised. ;-)
What for ? It's hardly
Hallo Martin,
Du schriebst am Thu, 7 Nov 2013 07:10:56 +0100:
BTW, float sounds awfully C-ish to me. No reals any more, really?
Because there could be a complex datatype which has two float fields.
Oh, I see, you think of the real/imaginary components. Indeed, that mighht
be distracting to
On Friday 08 November 2013 00:08:09 Sieghard wrote:
Hallo Martin,
Du schriebst am Thu, 7 Nov 2013 06:27:46 +0100:
BTW, int(eger) already does imply signedness, usually
(mathematically).
Yup. What could be used instead of int?
You might opt to spell it out as integer, I think.
That
On Friday 08 November 2013 08:01:05 Ivanko B wrote:
by subrange should be changed to define signed/unsigned and bit count.
or extended to define :) Anyway specifying bitcount even defining as
typesize are ranging as well but rougher (inexact).
That means two
We may use them as base types to use directly (with exact or default
ranges) or to spawn exact types (globally) so that people used to the
exact types to feel themselves in known environment.
--
November Webinars for C,
two concepts
===
If handled in same manner by compiler - two syntaxes for same thing ?
--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable
Do you use Pascal subrange type? Would you miss it?
=
Me use one in other languages - in BASH :
-
for i in `seq 1 10`; do
echo $i
done
-
for instance.
in SQL :
[..] where i between 1 and 10
--
PL/PgSQL
two syntaxes for same thing
Which should be avoided.
---
Why ? Just shortcuts (short/simplified notations) for user convinience :)
--
November Webinars for C, C++, Fortran Developers
Accelerate application
20 matches
Mail list logo