Hi,
Most of the methods in TCgiApplication (located in cgiapp unit) is
marked as deprecated. There is no documentation for this unit, so I do
not know much about it.
If all those methods are marked deprecated, what is replacing them?
Regards,
- Graeme -
--
fpGUI Toolkit - a cross-platform
On Fri, 27 Nov 2009, Graeme Geldenhuys wrote:
Hi,
Most of the methods in TCgiApplication (located in cgiapp unit) is
marked as deprecated. There is no documentation for this unit, so I do
not know much about it.
If all those methods are marked deprecated, what is replacing them?
The whole
That did not added the cross compile to the tar.
But I was able to work with it anyway using package manager (still playing
with it, and when it will be ready I'll release it to AUR - arch linux
community packages build).
I have another problem. I'm trying to create an Hello world for OpenMoko
Hello,
If I define a private integer:
TDemo = class(TCustomApplication)
private
i: integer;
...
and in a protected method I use it:
for i := 0 to List.Count - 1 do
...
then I get an error:
Error: Illegal counter variable
Moving it to method's var section helps.
Method's
On 27 Nov 2009, at 15:49, Juha Manninen wrote:
If I define a private integer:
TDemo = class(TCustomApplication)
private
i: integer;
...
and in a protected method I use it:
for i := 0 to List.Count - 1 do
...
then I get an error:
Error: Illegal counter variable
Moving it to
Hello.
In order to get translations from FPC to Ada language, I have updated
P2Ada translator http://sourceforge.net/projects/p2ada.
I add a new ObjP2Ada branch.
The grammar is based on:
reference guide for Free Pascal (FPC), version 2.2.4, March 2009
programmer's guide Turbo Pascal (TP),
Hi,
FPC's strutils or other libraries still don't have functions for splitting a
string to a list and joining a list of strings again to one string, given a
delimiter as a parameter.
Something like:
function Spit(Str: string; Delim: string; Result: TStringList): integer;
and
function
Hi,
I can actually use TStringList's Delimiter and DelimitedText for basic
splitting. This separates words of a text:
List.Delimiter := ' ';
List.DelimitedText := S;
I have programmed with Delphi for years without knowing it. Now I found it
with a google search. Should have waited a
On Fri, 27 Nov 2009, Juha Manninen wrote:
Hi,
FPC's strutils or other libraries still don't have functions for splitting a
string to a list and joining a list of strings again to one string, given a
delimiter as a parameter.
Something like:
function Spit(Str: string; Delim: string; Result:
On Fri, 27 Nov 2009 20:11:25 +0100 (CET)
Michael Van Canneyt mich...@freepascal.org wrote:
On Fri, 27 Nov 2009, Juha Manninen wrote:
Hi,
FPC's strutils or other libraries still don't have functions for splitting a
string to a list and joining a list of strings again to one string,
On Fri, 27 Nov 2009, Mattias Gaertner wrote:
On Fri, 27 Nov 2009 20:11:25 +0100 (CET)
Michael Van Canneyt mich...@freepascal.org wrote:
On Fri, 27 Nov 2009, Juha Manninen wrote:
Hi,
FPC's strutils or other libraries still don't have functions for splitting a
string to a list and
En/na Michael Van Canneyt ha escrit:
Of course it does exist. Split can be implemented like this:
List:=TStringList.Create;
List.Delimiter:=Delim;
List.StrictDelimiters:=True;
List.DelimitedText:=Str;
Never though of it. And join can be done too.
Pity that delimiter is a single character.
Hi again!
(So... let's see where this message ends up ^^)
I tested your patch (with both i386 and x86_64), Joost and as far as I
can tell the problem is solved.
I'll check if I can spot the problem, too (I don't know when, though).
Regards,
Sven
Jonas Maebe wrote:
On 27 Nov 2009, at 15:49, Juha Manninen wrote:
If I define a private integer:
TDemo = class(TCustomApplication)
private
i: integer;
...
and in a protected method I use it:
for i := 0 to List.Count - 1 do
...
then I get an error:
Error: Illegal counter
On perjantai, 27. marraskuuta 2009 23:52:30 Frank Peelo wrote:
The reason is that a for-loop tries to make a number of reasonable
guarantees that the counter variable cannot be modified during the loop.
E.g., direct assignments to a counter variable are forbidden inside the
loop (except in
On lauantai, 28. marraskuuta 2009 00:49:25 Jonas Maebe wrote:
On 27 Nov 2009, at 23:43, Juha Manninen wrote:
I understand it is important to support also the old shortstring but it
should be defined explicitly and string should always mean just one
thing.
ansistring and shortstring
16 matches
Mail list logo