On 5/15/11 8:28 PM, John Lee wrote:
I'd like to put the assign and reset of a text file into a function,
and then use the function to return a line from the file, without
needing to close the file then re assign and reset every time (for
performance reasons) - see below for my attempt.
This
On 2/17/11 12:04 PM, Frank Church wrote:
How about Dijkstra?
Where can I send a letter to the editor saying Naming the language
Dijkstra is considered harmful. ;)
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
On 5/6/2010 3:12 PM, José Mejuto wrote:
Entering the doom again... Next question could be why:
p1: TObject;
p2: TObject;
p1:=TObject.Create();
p2:=p1;
P1.free;
p1:=nil;
Why I get an AV if accesing p2 ? Because the object has been freed...
So why is not p2 = nil as p1 ?
The short answer is
On 5/4/2010 3:11 PM, Vinzent Höfler wrote:
The dynamic array simply fails the principle of least surprise. No
more, no less.
OK. You are correct. Now can we move on?
Doug C.
-
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A:
On 4/27/2010 2:04 AM, Jürgen Hestermann wrote:
An identifier should always refer to a memory address/location. If the
type of the data at that memory location is a pointer then it should
be possible to change the expression to the memory address of the data
by dereferencing it with ^. But for
On 4/23/2010 3:33 AM, spir ☣ wrote:
Say I want to implement a kind of linked list which node data may be anything.
Thus I cannot store data on place (in nodes), indeed; so it should be
referenced. But pointers themselves are supposed to be typed. So, how can I do
that?
The key to
On 2/24/2010 2:48 AM, Matt Emson wrote:
I think an interjection at this point is required - all of this is
down to personal experience, preference and style. It is what you are
used to. Having done 10+ years of Pascal, yes this is very alien.
Having done 5+ years of C# and C based languages,
David Emerson wrote:
b. What does strict private mean, as opposed to private without
strict? (My best guess is that it would be accessible only within the
methods+properties of that class within the unit, as opposed to being
available anywhere in the same unit where the class is
David Emerson wrote:
Doug Chamberlin wrote:
Class methods allow you to call the method without instantiating the
class first. For example, Result := TMyClass.MyClassFunction;
Oh, that is so cool! I suppose that probably means that class methods
can only reference class variables/methods
Cox, Stuart TRAN:EX wrote:
Some operations (procedures/functions) just go naturally with Classes but don't belong to any particular instance of that class.
An example might be calculating the area of overlap between two geographic polygons (instances of the class) where the function returning
Florian Klaempfl wrote:
Doug Chamberlin schrieb:
Anyone know how soon this will be incorporated into the tar file that is
posted as the latest 2.4 download?
Never. 2.4.0 is out and finished.
OK. anyone know when this fix will be incorporated into the next tarball
posted to be the latest
Michael Van Canneyt wrote:
On Sat, 2 Jan 2010, Juha Manninen wrote:
I also looked at FPC page and wiki page and there are no instructions for
installation! How is it possible?
The only link for FPC installation is buried under Lazarus
documentation (!) :
Thanks for all the great work that has gone into 2.4.0!
For my new year's resolution I'm going to commit to FPC and Lazarus. So,
I'm installing the latest in a fresh Ubuntu 9.10 VM and diving in. I'll
be pushing all this software hard and will probably be coming here for help.
First problem:
Sorry about all the cross posting. I didn't think such cross posting was
typically used and didn't even think to check the reply-to addresses.
Problem #2: I decided to make a contribution by adding a note to the
installation docs about needing to install from a location without
embedded
Thomas Nelson wrote:
Sorry the proper subject should have been FPC on USB
I strongly suggest you look into storing a complete virtual machine on
the USB storage. I know a few people who operate their VM's from USB
devices and they are content with that arrangement.
The advantage is that
fpcl...@silvermono.co.za wrote:
Graeme Geldenhuys wrote:
Can you please refrain from quoting the *whole* previous message...
Okay. Point taken.
Thank you, Nino!
Everyone, please trim your quotes!
___
fpc-pascal maillist -
Looks to me like you are terminating the process as soon as you write to
the pipe. Don't you have to give it time to breathe?
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Arí Ricardo Ody wrote:
[snipped]
I can't create StringList with a variable
name. I must previously declare each one in my pascal source. How can I
solve the trouble proposed?
I don't understand this part of your message. Does this mean you think
you cannot dynamically create TStringList
Nino Luciani wrote:
Hi guys,
A quick introduction. I joined the FPC mailing lists yesterday.
Hi, Nino! Welcome!
Are you new to the Object Pascal world or have you been using the
language for a while?
Doug C.
___
fpc-pascal maillist -
Graeme Geldenhuys wrote:
http://www.jwz.org/
What a great idea! Made my day!
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Graeme Geldenhuys wrote:
On Mon, Apr 6, 2009 at 4:54 PM, Oliver Leitner shadow...@gmail.com wrote:
Oh man, finally a design that is impressing me=)
:-) I must say, that is a very unique web page - I haven't see such a
design yet.
Yeah, I think I'll copy it before he gets it patented! :0
Bart wrote:
On 4/3/09, Jonas Maebe jonas.ma...@elis.ugent.be wrote:
I think what is meant, is that if you create a direct subclass of TObject,
there is no need to call TObject's create constructor (e.g., via inherited
create;) from your own constructors. It doesn't hurt if you do it of
course,
Michael Van Canneyt wrote:
What I want doesn't matter. Our clients want rich web 2.0 webapps.
I just want to make them in pascal and keep the codebase and know-how
I have in my team.
If it was up to me, client/server would do the job just fine. But I cannot
ask all parents of all pupils of
23 matches
Mail list logo