Doug, Hi
Thanks for the welcome.
As a veteran Turbo Pascal user, (since ver 3.0 in 1986), I was introduced to
Object Pascal in 1989 when I upgraded to TP ver 5.5, although it was quite
different to Object Pascal we use today. BTW, I still "sort of" know my way
around Turbo Vision.
I've been
If you're looking for a GUI IDE, try the Lazarus IDE. I use FPC extensively to
code Linux libs and console applications. I use Lazarus as my editor/IDE, it
has all I need and more.
Give it a try.
http://www.lazarus.freepaascal.org
Nino
//**
On S
Have you considered using XML to represent and structure your data?
If you must do it with TStringList, you could declare a dynamic array of
TStringList and instantiate the array elements at will at runtime. Also, each
string entry in the TStringList can hold a pointer to any object that you
de
Hi guys,
Over the last few years, I have written hundreds of thousands of lines of
object pascal code that compiles successfully using the FPC and Delphi. To
date, I have not encountered any problems with the code generated by the
FP Linux compiler. I don't have much experience with FPC within
Hi Graeme
You have a point.
About two months ago, I had to visit the dentist because one of my filings was
playing up. The diagnosis was that an old silver filing was leaking and
needed to be replaced. Becase of all the hype about mercury poisoning caused
by silver filings (which from my knowl
According to the FPC rtl.pdf version 2.2.2 Doc version 2.1 of June 2008, page
165, states, and I quote: "Description:FPSelect checks one of the file
descriptors in the FDSets to see if its status changed."
//-
On Saturday 0
Hi guys
Are there replacements for the deprecated CreateShellArgV and FreeShellArgV
functions and procedure that are currently defined in genfuncs.inc?
Regards
Nino
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.o
Hi guys
Tinkering with Findfirst, Findnext functions within Linux, I discovered that
the file attribute pointing to the parent dir and the curent dir (. + ..) are
missing from filutilh.inc - Am I looking in the wrong place?
I found that the following works;
procedure Test();
const
faDirDots
On Sunday 10 May 2009 11:03:00 Marco van de Voort wrote:
> In our previous episode, fpcl...@silvermono.co.za said:
> > Are there replacements for the deprecated CreateShellArgV and
> > FreeShellArgV functions and procedure that are currently defined in
> > genfuncs.inc?
>
> Not currently. What do y
On Sunday 10 May 2009 11:54:01 Jonas Maebe wrote:
> On 10 May 2009, at 11:44, fpcl...@silvermono.co.za wrote:
> > Tinkering with Findfirst, Findnext functions within Linux, I
> > discovered that
> > the file attribute pointing to the parent dir and the curent dir (.
> > + ..) are
> > missing from f
On Sunday 10 May 2009 12:11:55 Michael Van Canneyt wrote:
> On Sun, 10 May 2009, fpcl...@silvermono.co.za wrote:
> > Hi guys
> >
> > Tinkering with Findfirst, Findnext functions within Linux, I discovered
> > that the file attribute pointing to the parent dir and the curent dir (.
> > + ..) are mis
Does anyone have experience in developing PostgreSQL server side functions
using fpc?
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
I must agree with Michael.
In my experience, it doesn't matter where the findclose() is placed, as long
as it's called within the scope of the findfirst(), findnext(). If
findclose() is not called, all that happens is that the OS will use up file
handles, which are finite in quantity on any giv
Hi guys
In MS Windows I use the following API functions:
1/
SetDIBits(bmap.Canvas.Handle, bmap.Handle, 0, bmap.Height, data,
PBitmapInfo(bitmapInfop)^, DIB_RGB_COLORS);
To set the pixels in a bitmap (bmap) using the colour data found in the
specified device-independent bitmap (
Hi Guys,
Is there a reason why the following code fails to compile in Delphi but
compile in FPC? Could the reason be that FPC allows the use of global
properties? Tested with Delphi 5 and up.
The Delphi compiler complains about the lines:
TestClass.TestRec.X := 10;
TestClass.TestRec.Y := 20; wi
Hi Jonas
Thanks for the reply.
A high level, a class is like a record that has been modified to include
functions and procedures. I know that I'm over simplifying thing here, please
bare with me.
I'm trying to understand the logic employed by the creators of Delphi where
they don't allow to w
On Sunday 07 June 2009 22:19:47 Jonas Maebe wrote:
> On 07 Jun 2009, at 10:35, fpcl...@silvermono.co.za wrote:
> > A high level, a class is like a record that has been modified to
> > include
> > functions and procedures. I know that I'm over simplifying thing
> > here, please
> > bare with me.
>
>
On Monday 08 June 2009 19:55:00 Graeme Geldenhuys wrote:
> Hi Nino,
>
> Can you please refrain from quoting the *whole* previous message, when your
> reply only relates to one or two lines. If other developers want to read
> the whole context of the message thread they can look in their email
> hi
Excellent explanation.
Thanks Martin.
Regards,
Nino
//***
On Monday 08 June 2009 20:33:48 Martin Friebe wrote:
> fpcl...@silvermono.co.za
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/
Hi guys,
> "strict" is introduced for new delphi compatibility?
A most welcome addition.
I'm ashamed to admit that I only found out that it's been included in FPC
today. I ran an old VM which has FPC ver 2.2.2 installed, and "strict" is
supported! I'm currenly using FPC 2.2.5
What other "jewe
Hi Guys,
Assuming that a FPC RTL rebuild has succeeded, can somebody please describe
the process of rebuilding Lazarus and the LCL using the new FPC RTL?
Regards,
Nino
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal
On Thursday 11 June 2009 10:05:47 Graeme Geldenhuys wrote:
> > Assuming that a FPC RTL rebuild has succeeded, can somebody please
> > describe the process of rebuilding Lazarus and the LCL using the new FPC
> > RTL?
>
> Load your previous Lazarus IDE. Then do: "Tools > Build Lazarus"
This only work
On Thursday 11 June 2009 12:49:40 Graeme Geldenhuys wrote:
> I often make changes to the RTL and FCL. Many of my packages which are
> compiled into the Lazarus IDE depend on the FCL. I also use Linux and
> this process works perfectly for me.
I'm off to a meeting. Will try later today.
Thanks Gra
On Thursday 11 June 2009 08:49:03 fpcl...@silvermono.co.za wrote:
> Hi Guys,
>
> Assuming that a FPC RTL rebuild has succeeded, can somebody please describe
> the process of rebuilding Lazarus and the LCL using the new FPC RTL?
>
> Regards,
> Nino
As the saying goes "Assumption is the mother of al
Hi guys,
I'm interested in exploring the USB interface from within Linux using FPC.
I have looked at libusb and am aware of the functionality which it exposes.
I would appreciate it if someone with USB programming experience could help by
pointing me to a website or documentation that reveals a
Thank you.
Regards,
Nino
/---
On Monday 15 June 2009 17:15:40 Johann Glaser wrote:
> Hi!
> Some time ago I did header translations for it. I'll attach it
> (libusb.pas) plus some utilities and a class wrapper (usbutil.pas),...
> Bye
> Hansi
___
On Thursday 18 June 2009 08:51:13 Vincent Snijders wrote:
> Graeme Geldenhuys schreef:
> > Hi,
> >
> > Recently I learned that you can have writeable typed constants. That
> > sounds rather like an oxymoron to my. Writeable constants make no sense,
> > is that then simply a variable? What is the us
On Thursday 18 June 2009 10:48:57 Graeme Geldenhuys wrote:
>
> I don't know (have not tested) what FPC does with mode delphi though.
> But seeing that this feature is just for backward compatibility, maybe
> it should be disallowed by default in mode objfpc as well?
It also works in Delphi mode.
It's intersting to note that as far back as Delphi 5,(oldest I have on my
system), attempting to write to a typed constant causes a "left side cannot
be assigned to" compiler error.
I guess as long as FPC compiler offers TP7 compatibility, this feature must be
retained. Also, bear in mind that
While scanning /proc may not be portable, the question asked is about checking
for a running Linux process. The only way I know is scanning all directories
within /proc (which as you all know are the id's of the running processes)
and checking for the process file name and the process command li
It's better to post your ExtPascal related questions on the ExtPascal Forum.
Read the wiki start at
http://code.google.com/p/extpascal/wiki/GettingStarted
ExtPascal generates its units from ExtJS html docs.
Regards
//---
O
Did you copy the extJS files in the www root of your server?
The directory must be named "ext" (without qoutes)
Regards
//---
On Monday 28 September 2009 09:57:34 yu ping wrote:
> thanks,
> I successfully compile the program,and install the fastcgi on Appache,
> but wh
Hi,
According to the note in chapter 2, section 2.2.1 of the FPC Programmer's
Guide, it is not possible for conditionals to be exported to other units.
Is there a way around this?
My Ref:
Programmer's Guide for Free Pascal, Version 2.2.2
Document version 2.0
June 2008
Regards,
Nino
_
Hi Guys,
The Linux tthread.inc file in FPC 2.2.4 refers:
There is a constant array defined at line 55 that lists 'priority' values
which I think are inverted. i.e. Currently, the listed values range from -20
to +19 and these map to tpIdle to tpRealtime. According to man nice(1),
Nicenesses rang
> 2009/10/20 :
> > The comment on line 54 should perhaps be reworded to reflect that
> > although it's not implemented in the current release, the user is free to
> > use the values if he so wishes. It's not stupid, one never knows what the
> > next guy will do with ones code.
>
> It is mentioned
Hi Guys,
Have you considered implementing the foreach construct similar to that found
in many modern languages?
Regards,
Nino
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Hi Guys,
With reference to FPC 2.2.4 Linux, can somebody please explain how to get the
compiler to compile code that uses the Experimental and Unimplemented hint
directives?
An expanation is given on their use on page 11 of the Reference Guide for Free
Pascal, version 2.2.4, but I have no luck
On Saturday 31 October 2009 10:51:24 fpcl...@silvermono.co.za wrote:
> Hi Guys,
>
> With reference to FPC 2.2.4 Linux, can somebody please explain how to get
> the compiler to compile code that uses the Experimental and Unimplemented
> hint directives?
>
> An expanation is given on their use on pag
Hi,
FPC 2.2.4 refers.
Two of the four hint directives listed on page 11 of the Reference Guide for
Free Pascal, version 2.2.4 don't work as described in the manual.
The "Experimental" directive causes the compiler to stop with a syntax error.
The example program listed on page 11 doesn't compil
On Wednesday 11 November 2009 09:22:30 Graeme Geldenhuys wrote:
> Flávio Etrusco wrote:
> > Graeme, I guess the OP didn't want to reintroduce the 'Create'
> > constructor with lower visibility, just implement a second constructor
> > with private visiblity.
> > It can be useful when implementing si
On Saturday 21 November 2009 08:56:53 Martin Schreiber wrote:
> On Friday 20 November 2009 21:24:17 Jorge Aldo G. de F. Junior wrote:
> > arent there a /dev/something device for pcspeaker ?
/dev/pcspkr
>
> With X11 one can use xbell().
>
> Martin
>
> ___
Hi,
I'm receiving unsolicited spam messages along with the normal message on this
list. Is this happening to anyone else?
The email address I use here is for the sole purpose of this subscription.
Nino
___
fpc-pascal maillist - fpc-pascal@lists.fre
42 matches
Mail list logo