To convert a PPPChar to a String, you should be able to do
MyString := String(MyPPPChar^^);
To convert from String to PPPChar, you will need some intermediate variables
MyPChar := PChar(MyString);
MyPPChar := @MyPChar;
MyPPPChar := @MyPPChar;
Sly
- Original Message -
From: "Gon
> i defined
> type
> PPPChar=^PPChar
> end;
>
> now the question is how to convert a string to pppchar or convert a
> pppchar to string?
> please help me.
pppchar should be read as 'address of an array of pchars'. converting a
string to that depends on the situation.
_
i defined
type
PPPChar=^PPChar
end;
now the question is how to convert a string to pppchar or convert a pppchar to string?
please help me.
___
fpc-pascal maillist - [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>> But in general FPC is written more with portability in mind, and this
>> increases the library layer slightly. Also Delphi might have
>> optimizations
>> on while FPC needs params to enabled them. (I assume you already use
>> -XXs
> to compile the fpc
>> binary, you could also use -OG3p3 or so)
On Thu, Mar 04, 2004 at 11:39:46PM -0500, r.w.h wrote:
> begin
> if exists ('bot.log')
> then begin
> assign(ftb,'bot.log');
> append(ftb);
> writeln(ftb,'bot log created'); // find away to enter time , date
> close(ftb);
> end
> else
> begin
> assign(ftb,'bot.log');
> reset(ftb);
> writeln(ftb,'th
begin
if exists ('bot.log')
then begin
assign(ftb,'bot.log');
append(ftb);
writeln(ftb,'bot log created'); // find away to enter time , date
close(ftb);
end
else
begin
assign(ftb,'bot.log');
reset(ftb);
writeln(ftb,'the botlog was created');
close(ftb);
end;
end;
whats wrong with the code.
i get t
Am Mi, den 03.03.2004 schrieb Peter Vreman um 13:13:
> >> > My goal is to install only the program and some data and readme but no
> >> > compiler related files.
> >>
> >> Under [target] only specify the programs. Under [clean] add the units.
> >
> > If I try that way the units are not found.
> >
Am Mi, den 03.03.2004 schrieb Marco van de Voort um 23:34:
> > Am Mi, den 03.03.2004 schrieb Peter Vreman um 12:46:
> > > >
> > > > Sorry for that, but it leads to the question: Does fpc do this by design
> > > > or can I switch it off?
> > >
> > > Try 1.9.x
> >
> > I'll do that later on, for now
> But in general FPC is written more with portability in mind, and this
> increases the library layer slightly. Also Delphi might have optimizations
> on while FPC needs params to enabled them. (I assume you already use -XXs
to compile the fpc
> binary, you could also use -OG3p3 or so)
I was using
> > > The executable also got 23KB larger just from being compiled with 1.9.2,
> > > ie.
> > > from 82KB to 105KB.
> >
> > That is always the case... more functionality means a bigger size... for
> > example threadvar for multithreading support takes more space. Also
> > register calling takes more
> > The executable also got 23KB larger just from being compiled with 1.9.2,
> > ie.
> > from 82KB to 105KB.
>
> That is always the case... more functionality means a bigger size... for
> example threadvar for multithreading support takes more space. Also
> register calling takes more space, but it
>> > Thanks. I've never had to use that in Delphi since it defaults to GUI
> if
>> > there is no $APPTYPE directive. Would it make sense for FPC to
>> default
> to
>> > GUI if compiled in Delphi compatibility mode? I'm new to FPC so I
>> don't
>> > know if that has been discussed before.
>>
>> T
> I'm building a graphical application using GameVision
> (http://www.jarroddavis.com/). The application compiled in FPC opens a
> console window whenever the application is executed. The application
> compiled in Delphi does not open a console window. How do I not have the
> console window a
13 matches
Mail list logo