I've already read that its not built into pascal but how do I get around
this? If I have:
contacts : array [1 .. 256] of JSMContact;
the only way to initialize it is?
with contacts[1] do
begin
Name := '';
PhoneNo := '';
end;
Also if I am passing a var to a procedure
On 25 Dec 2008, at 00:28, S. Fisher wrote:
I wish
that people would stop getting so derogatory and fired up about
mundane things like whether or not someone else likes a particular
programming language (and that goes for both sides of the "debate").
And that they'd stop over-generalisin
Anyone who pretends to know how to use computers effectively
must know how to use grep. (grep is available for Windoze.)
Let's say that you want to search all of the files in the
current directory for lines that contain "foobar" or
"foo bar" or "foo-bar", followed later in the line by
"practise"
On 24 Dec 2008, at 20:42, Andrew Brunner wrote:
So what's with Dynlibs or Linux for that matter, not able to load
libraries from sub folders inside mounts? Is *this a known issue?
No, but "sub folders inside mounts" has no meaning under unix (every
folder on your disk is a "sub folder insi
I've been struggling with an issue of
Dynlibs.LoadLibrary(completepath/something.so) always returning zero
for libraries in subfolders that are traced back to samba shares.
Example Library Project is built on
/home/atbrunner/Source/Libraries/Test/project1.so
but /home/atbrunner/Source is a smbfs
In our previous episode, Mark Morgan Lloyd said:
> Frank de Groot (Rent-a-Geek) wrote:
>
> > 1. The number of people proficient in RegExes is very small, and it
> > takes regular practice to keep the skill up.
> > Very bad to be dependent on such a subset of Pascal programmers.
>
> I am very sor
In our previous episode, Mark Morgan Lloyd said:
> > Maybe. I never used them (except a text editor of course). Everything
> > you can do with these tools is also possible with a good Pascal compiler
> > (and much more).
>
> Very true, I'd not deny that for a moment. However what's better: a
>
4. RegExes, especially complex ones, are usually orders of magnitude
slower than straight Pascal, because they're usually interpreted at
runtime by a parser.
They could possibly be preprocessed if assigned to a constant, although
I've not tried doing this.
If you modify the RegExp-parsing so
Frank de Groot (Rent-a-Geek) wrote:
1. The number of people proficient in RegExes is very small, and it
takes regular practice to keep the skill up.
Very bad to be dependent on such a subset of Pascal programmers.
I am very sorry, but your logic is bad there. A high proportion of unix
users
http://ik.homelinux.org/
On Wed, Dec 24, 2008 at 12:56 PM, Jürgen Hestermann <
juergen.hesterm...@gmx.de> wrote:
> To use grep, sed, awk, or a text editor effectively, one must
>> understand regular expressions.
>>
>
> Maybe. I never used them (except a text editor of course). Everything you
> c
I agree with Jürgen.
It's is much more preferable to write standard Pascal, for many reasons:
1. The number of people proficient in RegExes is very small, and it takes
regular practice to keep the skill up.
Very bad to be dependent on such a subset of Pascal programmers.
2. RegExes are notori
Jürgen Hestermann wrote:
To use grep, sed, awk, or a text editor effectively, one must
understand regular expressions.
Maybe. I never used them (except a text editor of course). Everything
you can do with these tools is also possible with a good Pascal compiler
(and much more).
Very true,
To use grep, sed, awk, or a text editor effectively, one must
understand regular expressions.
Maybe. I never used them (except a text editor of course). Everything
you can do with these tools is also possible with a good Pascal compiler
(and much more). So why waste time on learning another
Csanyi Pal wrote:
apt-cache show nothing about libglib1.2ldbl
Google brings up lots of relevant discussion. I normally compile Lazarus
from scratch under Debian and have never seen this problem.
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not t
Mattias Gaertner wrote:
see also
http://wiki.lazarus.freepascal.org/IDE_regular_expressions
Also http://regexpstudio.com/TRegExpr/Help/regexp_syntax.html which is
the one I use with Delphi, not sure whether it's related to the one that
FPC bundles.
I think I could have used a better exampl
--- On Mon, 12/22/08, Mark Morgan Lloyd
wrote:
>
> There's been a recent thread in fpc-other on second
> languages, but it appeared to focus more on what was a
> useful part of a developer's skillset rather than what
> people miss from Pascal.
>
> What /I/ miss is Perl's pattern matching, and
leledumbo schrieb:
I'm curious why my FPIDE with GDB 6.8 compiled with MinGW crashes while GDB
says OK (see http://bugs.freepascal.org/view.php?id=11968
http://bugs.freepascal.org/view.php?id=11968 ). Perhaps I didn't build GDB
correctly, so may I know what options do you supply when calling con
17 matches
Mail list logo