Le Jul 30, 2008 à 10:37 PM, Lourival Mendes a écrit :
I would do something like this:
C
struct product {
int weight;
float price;
} ;
product apple;
-
Pascal
Type
product = record
weight: Integer
I would do something like this:
C
struct product {
int weight;
float price;
} ;
product apple;
-
Pascal
Type
product = record
weight: Integer ;
price: double;
end;
Var
apple: product
Gene Buckle wrote:
How to translate this:
struct a;
a: pointer;
--
Jilani KHALDI
-
http://www.jkhaldi.eu
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> Datum: Wed, 30 Jul 2008 10:10:09 -0700 (PDT)
> Von: Gene Buckle <[EMAIL PROTECTED]>
> An: FPC-Pascal users discussions
> Betreff: Re: [fpc-pascal] Translate C to Pascal
> > How to translate this:
> >
> > struct a;
> >
> >
> er...
>
> Closest would be:
>
> type
> record = foo
> ba
Mattias Gärtner wrote:
> How to translate this:
>
> struct a;
Isn't this a forward declaration? So sometime later it needs to declare
'struct a { ... };' ?
Micha
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/ma
How to translate this:
struct a;
er...
Closest would be:
type
record = foo
bar : integer;
end;
var
a : foo;
I _think_.
g.
--
Proud owner of F-15C 80-0007
http://www.f15sim.com - The only one of its kind.
___
fpc-pascal mail
How to translate this:
struct a;
Mattias
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
On Wednesday 30 July 2008 09.04:02 Graeme Geldenhuys wrote:
> Hi,
>
> Has anybody already implemented the string utility functions like
> Length, Pos, Delete, Copy, Insert etc. that works with UTF-16. I'm not
> interested in UCS2 only support, I want full UTF-16 support.
>
> I'm willing to implemen
Hi,
Has anybody already implemented the string utility functions like
Length, Pos, Delete, Copy, Insert etc. that works with UTF-16. I'm not
interested in UCS2 only support, I want full UTF-16 support.
I'm willing to implement those, but why reinvent the wheel when
somebody already did it before.