darekm wrote:
I've play with forin construction. To my work I need more than one per
collection.
In attach is one of example program.
Can someone review it. is this proper construction.
operator enumerator (AEnumerator: TEnumerator): TEnumerator;
begin
Result := AEnumerator
end;
It is a bit h
Paul Ishenin pisze:
darekm wrote:
I've play with forin construction. To my work I need more than one
per collection.
In attach is one of example program.
Can someone review it. is this proper construction.
operator enumerator (AEnumerator: TEnumerator): TEnumerator;
begin
Result := AEnumerato
Hi there,
I just got a laptop that came with Windows Seven. I have complete
automation scripts with my Ubuntu boxes but NONE of the commands to
"make" FPC translate for me.
I poured over wikis and blogs for info and even found the official
(link below).
http://wiki.lazarus.freepascal.org/Install
Dariusz Mazur wrote:
Where?
Its work now with current compilator. Are You plan to disable this?
I made a typo: read 'I see *no* problems with this'.
for i in List using GetEnumerator(DoUpArgument)
current "for i in List" will be just short form of "for i in List
using GetEnumerator"
But thi
Andrew Brunner schreef:
Hi there,
I just got a laptop that came with Windows Seven. I have complete
automation scripts with my Ubuntu boxes but NONE of the commands to
"make" FPC translate for me.
I poured over wikis and blogs for info and even found the official
(link below).
http://wiki.laza
Yes. From any folder in command prompt I get fpc access. I just
don't know the make commands and parameters.
-Andy
On Sat, Nov 7, 2009 at 7:31 AM, Vincent Snijders
wrote:
> Andrew Brunner schreef:
>>
>> Hi there,
>>
>> I just got a laptop that came with Windows Seven. I have complete
>> autom
Andrew Brunner wrote on Sat, 07 Nov 2009:
Yes. From any folder in command prompt I get fpc access. I just
don't know the make commands and parameters.
make all
make install INSTALL_PREFIX=c:\path\without\spaces
(and make sure the sources are also installed in a hierarchy without
spaces in
Andrew Brunner schreef:
Yes. From any folder in command prompt I get fpc access. I just
don't know the make commands and parameters.
Did you try the same as on linux (that is what the wiki suggested).
Vincent
___
fpc-pascal maillist - fpc-pascal@
Paul Ishenin pisze:
Dariusz Mazur wrote:
Where?
Its work now with current compilator. Are You plan to disable this?
I made a typo: read 'I see *no* problems with this'.
for i in List using GetEnumerator(DoUpArgument)
current "for i in List" will be just short form of "for i in List
using Ge
Is there call back function when read string resourcestring, like as
resourcestring
sHello := 'Hello';
s:= sHello; //<-- here
like TWideStringManager is there a manager for resourcestring?
Thanks.
--
Zaher Dirkey
___
fpc-pascal maillist - fpc-p
Dariusz Mazur wrote:
Can You give example of this:
where
for i in List using GetEnumerator
is better than
for i in List.GetEnumerator
Of course. for-in loop expect to have a collection not an enumerator.
What enumerator should for-in loop to choose in the next case:
[example]
TMyListEnumerat
On Sat, 7 Nov 2009, Zaher Dirkey wrote:
Is there call back function when read string resourcestring, like as
resourcestring
sHello := 'Hello';
s:= sHello; //<-- here
like TWideStringManager is there a manager for resourcestring?
No.
The resourcestring tables can be manipulated with som
Make Install PREFIX worked but it required Elevated User Status. And
to do this under Seven you must right click the icon for command
prompt and select run as administrator. Running command prompt as an
administrator will enable the installation properly from the command
prompt. Otherwise the ma
C:\Developer\FPC>make install sourceinstall PREFIX=C:\FPC
make -C win32 exampleinstall
make[4]: Entering directory `C:/Developer/FPC/rtl/win32'
make[4]: Nothing to be done for `exampleinstall'.
make[4]: Leaving directory `C:/Developer/FPC/rtl/win32'
make[3]: Leaving directory `C:/Developer/FPC/rtl
Andrew Brunner wrote on Sat, 07 Nov 2009:
C:/FPC/bin/i386-Win32/cp.exe -Rfp examples/* C:\FPC/examples/hash
cp.exe: cannot remove old link to
`C:/FPC/examples/hash/.svn/all-wcprops': Permi
ssion denied
You have to build/install an exported copy under Windows due to a bug
in cp.exe there.
Hi,
while writing some Pascal code, I am still looking for a debugger, which
works like the turbo debugger, in a similar way. I would love it to get
a clue.
Best regards, Holger
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lis
In our previous episode, Andrew Brunner said:
> Make Install PREFIX worked but it required Elevated User Status. And
> to do this under Seven you must right click the icon for command
> prompt and select run as administrator.
This will be fixed in 2.4.0 (as long as you install to a location that
On Sat, Nov 7, 2009 at 12:21 PM, Jonas Maebe wrote:
>
> You have to build/install an exported copy under Windows due to a bug in
> cp.exe there. First perform
>
> C:\Developer\FPC> svn export . c:\Developer\FPCExport
>
> Then build/install from c:\Developer\FPCExport
Well, if this is a bug I gues
Paul Ishenin pisze:
Of course. for-in loop expect to have a collection not an enumerator.
What enumerator should for-in loop to choose in the next case:
[example]
TMyListEnumerator = class
public
function GetEnumerator: TMyListEnumeratorEnumerator;
function MoveNext: Boolean;
property Curren
Hello,
I'm trying to write a console program that uses some features of QT (webkit
and printing from webkit) using FPC 2.2.5
QT have QApplication that I require to use because that I require the
printing issues and settings the URL.
QApplication is very similar to TCustomApplication in it's appro
Hello,
I have found out the following during development of my project and
wanted to ask for some explanation.
I have a dynamic library which is dynamically loaded from the main
thread of my program. I then create a worker thread in the main
program and call the functions in the library from this
I used fpc for a while before starting to use Lazarus. Of course back
then, lazarus was not as stable as it is now...
Now that I have gotten accustomed to using lazarus, I will never go
back! Lazarus is a wonderful tool. I believe it relies upon the gnu
debugger (gdb) although I am not at all c
Dariusz Mazur wrote:
with hack with trivial operator we receive the same:
for CollectionElement in Collection.CollectionEnumerator do
yes, but it is still the hack
but what about
for CollectionElement in Collection using TreeEnumerator do
where TreeEnumerator cant traverse thought Collection
23 matches
Mail list logo