<>
> I use Class and Object data types frequently in my code. I like the fact
> that Object data types can be used without first instantiating an
> instance and it gets freed automatically.
>
> It has to be said that for more complex "objects" I always use a Class
> type though. Also, Delphi comp
On Aug 21, 2014, at 6:00 AM,Jerry wrote:
>
> One of the things that I recall being possibly unique and possibly
> troublesome now is that under THINK Pascal, there was a built-in text I/O
> window and a built-in graphics drawing window, …… When I moved to
> Codewarrior, I was somehow able to e
I can't figure out how to make a case insensitive search in GDB. The GDB docs
only say that you can do the following but don't give much else or explain
regexp.
forward-search regexp
or
reverse-search regexp
These works fine for simple (case sensitive) searches but I tried quite few
varia
As a user of the old Macintosh Pascal (later THINK Pascal), both ReadStr and
WriteStr functions were included and I used them quite a bit. The names were
different but the FPC implementation is basically the same as far as I can tell.
Besides backward compatibility, portability issues and per
>> Did you try disabling floating point exceptions? A lot of C code assumes
>> that floating point exceptions are disabled (since that's what the C library
>> does on startup).
>
> Aha. And how do I do that ?
uses
math;
SetExceptionMask([exInvalidOp, exDenormalized, exZeroDivide, exOverflow,
On Jun 20, 2009, at 6:00 AM, David Noon wrote:
I think it is more expressive to make the semantics clear by declaring
an inconstant constant as a variable -- because that's what it is --
This semantic issue is very confusing for beginners including people
who are migrating from a non Borlan
Adam Pahlevi wrote:
Is there FPC IDE that can run inside Mac OS X
is there, how to install and compile or build or any stuff like
that, that I may run?
---
You just missed a few posts concerning beginning with FPC on the
Mac. :) Check out the most recent archives for information
On Apr 13, 2009, at 2:42 AM, Pierre Paré wrote:
Thank for you answers and the links
I did subscribe to the list but it seems I needed to complete the
process with a confirmation.
The FPC list and wiki servers are presently not responding ; my
confirmation is bouncing back.
I could read som
Mattias wrote:
return x;
funcname := x;
exit(x); can be used in mode objfpc.
OK. Thanks. That will be more portable than return since objpas is
fairly common. Return is a bit simpler syntactically but exit
performs the same way which is more important to having to change or
My last post got me thinking about weaning myself from macpas mode.
One of the statements I have found quite useful is the macpas defined
"return" statement which is used to return the function value and
exits immediately from inside any nested block. Has there been any
thought or discu
Pierre Paré wrote:
If not the appropriate list for this question, would you redirect
the request
-- Also, check out the MacPascal List, the Lazarus list and the FPC/
Lazarus Wiki PAges
I installed FPC with XCode on an iMac OS X 10.5
I am not a developer , I want to get back at programmi
Jonas wrote:
b) conversely, initialized variables are initialized every time their
scope is activated (or whatever the proper term for that is: once in
case they are declared in a program/unit scope, and every time a
function/procedure is entered if they are declared locally in a routine)
Where/why would one use a typed constant vs. a variable. i.e.
const
myConst : double = 2.0*Pi;
var
myVar : double = 2.0*Pi;
It seems to me the typed constant is superfluous and can potentially
lead to bugs.
___
fpc-pascal maillis
Francisco Reyes wrote:
I was refering to not seeing a note that one can not have a unit
name be the same as a function name. I was never refering to case
sensitivity. Sorry for not been more clear.
---
Ahh, OK. Yes, I've run into that problem myself. The one I
remember was where I
(snipped)
Pascal is case insensitive .
It may help newcomers like myself if this was mentioned on the ref
document. Just double checked and it does not mention this.
---
Interestingly, I was going over the lang ref guide last night and
found that the case sensitivity is mentioned in se
Francisco Reyes writes : (snipped)
>>The sample code in the ref document doesn't document the simplest
case, but goes over what I think is a more complex example of a unit
that uses another unit.
It also doesn't have any actual code to do anything, so it is kind of
an abstract example . I
Thanks Jonas and Leledumbo for your answers. Most of this makes
sense to me now. Some minor followup questions / comments (snipped)
C) Just out of curiosity, am wondering why FreeAndNil is global
procedure instead of a method/destructor of TObject.
...
c:=c.tsomeclass.create;
c.freea
I am a little bit unclear about certain things on class constructors
and destructors.
From what I read in the language reference guide (chapter 6) and
runtime utilities document (chapter 29):
1) All classes descend from TObject; even declaring a new class
without using TObject as a qualif
Michael writes:
This is where the ship already sinks. I'll give you the 2 most common
reasons:
- Many clients have PC-classrooms, where such things are simply
forbidden.
- Windows Vista and security issues make installation and automated
updates
a pain. Not everybody is allowed to do inst
ut I haven't used it yet and Ingemar's is a bit more
finished except for a debugger. Ingermar's IDE is bundled with a
bunch of GUI source code/applications as well.
http://web.mac.com/roward/A_Musing_Rumination/Pascal.html
Richard Ward
That is an old link. IT should be http://www.hu.freepascal.org/lazarus/
--
Thanks for the info.
I was at this page:
http://wiki.lazarus.freepascal.org/OS_X_Programming_Tips#Download_Free_Pascal_and_Lazarus
and the link in question
Lazarus daily snapshot page:
was contained in the follow
I can't seem get through to the Laz snapshot page which is provided
from the Wiki page.
http://www.de.freepascal.org/lazarus/
Thank you for posting links to all the Laz info. That makes things
much easier :)
-R Ward
___
fpc-pascal maillist -
Selling is a lot less about technical details than most people think.
As are U.S. presidential elections. Sorry, that just slipped out. heh
I agree with the comment about the perception of mac and pc users in a
corporate environment. The PC users are more powerful which is why
What I am curious about is why are people porting programs from other
platforms to the Mac?
Simply because there is demand. Most of what is said goes for direct
sales
to mac people, which is often not the case for these ported
software. It is
a distinction that I somewhat miss in these di
Jonas writes:
we even have administrative people at our university who have
learned to be somewhat efficient with our SAP implementation, which
is universally recognised by everyone here as a the most horrible
user interface they have ever used).
--
Funny you mention this because m
Jonas writes:
That's really a very bad idea, unless you are only interested in
supporting Windows users switching to a Mac (although even for them
the application will feel weird after a while).
I will second this opinion as last week, I was trying to find a 2D
drawing program with
you pay in my opinion.
Here is a link to Apple's refurbished deals. They come directly
from Apple and have full warrantee.
http://store.apple.com/1-800-MY-APPLE/WebObjects/AppleStore.woa/wa/
RSLID?sf=wHF2F2PHCCCX72KDY&nclm=CertifiedMac&mco=MTE3NjY
-Richard Ward
>>However it shows again the image problem of pascal, cause by
people making assumptions on old compilers during their student
years, and keep comparing it to later ones forever.
>>If even reasonably intelligent people can't escape from it, maybe
we are doomed.
-- Maybe a new book need
28 matches
Mail list logo