On Tue, 7 Jun 2011, reynolight wrote:
Am 06.06.2011 22:02, schrieb Rainer Stratmann:
http://www.geany.org/
Screenshots:
http://www.geany.org/uploads/Gallery/geany_main.png
http://www.geany.org/uploads/Gallery/geany_build.png
http://www.geany.org/uploads/Gallery/geany_plugins.png
__
On Sat, 12 Mar 2011, John Lee wrote:
I'm trying to get data from a device via a serial (com) port, 9600 baud,
connected via the prolific cable (serial to usb). This allows one to connect
a serial device via a usb port (many new PCs do not have a real serial port.
I've loaded the prolific driver
On Thu, 17 Feb 2011, Cees Binkhorst wrote:
That was the time the professional managers took over.
Fuller was his name if my memory is correct.
They allowed Anders Hejlsberg to be bought by MS (signing bonus), while
'the managers' took hefty bonuses and shares (which Anders did not get,
while he
On Thu, 17 Feb 2011, Cees Binkhorst wrote:
Philippe Kahn did more for Pascal then Dijkstra.
He expanded it and made it soo cheaply available that it was an instant
winner.
...and Borland/Inprise squandered the lead.
g.
--
Proud owner of F-15C 80-0007
http://www.f15sim.com - The only one of
On Tue, 15 Feb 2011, Ben wrote:
What does a "html scrapping library" do?
The person may mean "scraping" (to scrape).
g.
--
Proud owner of F-15C 80-0007
http://www.f15sim.com - The only one of its kind.
http://www.simpits.org/geneb - The Me-109F/X Project
ScarletDME - The red hot Data Manage
On Thu, 6 Jan 2011, Howard Page-Clark wrote:
On 06/1/11 2:49, Gene Buckle wrote:
On Wed, 5 Jan 2011, leledumbo wrote:
If you want something fast, pyacc and plex distributed with fpc can be an
option. But I suggest writing your own since that way you'll have a full
control of its fea
On Wed, 5 Jan 2011, leledumbo wrote:
If you want something fast, pyacc and plex distributed with fpc can be an
option. But I suggest writing your own since that way you'll have a full
control of its features.
Is there an fpc version of TIniFile?
g.
--
Proud owner of F-15C 80-0007
http://www
How to translate this:
struct a;
er...
Closest would be:
type
record = foo
bar : integer;
end;
var
a : foo;
I _think_.
g.
--
Proud owner of F-15C 80-0007
http://www.f15sim.com - The only one of its kind.
___
fpc-pascal mail
I thought string should be accessed from 1 not 0 for compatibility.
And it is what I am doing.
for i := 1 to length(s) do ...
so I am not sure that using s[0] is safe
If memory serves, the [0] element was originally used to hold a byte that
was equivalent to the string length. This was in t
I guess you totally mis-understood my question, or I explained wrongly what I
want.
1. I do NOT want to run a BBS. I want to port the control software of my
central heating (I developed, programmed and built the whole control-
and regulation system (hardware and software) by myself in 1998. I
Actually, this X00 driver was written for BBS systems with analog modems
around 1970-1980, namely for MAXIMUS and OPUS. This BBS programs were the best
ones at their time as far as I can remember, of course, at that time there was
no real Internet available to the public. ;-)
FOSSIL didn't appea
>
> Yes, it's safe to ignore. It's a bug that that this warning is shown
> when you declare the routine as external, it's only relevant if you
> program the routine itself in Pascal (since then you can't use "for i
> := low(args) to high(args) do ...", like you can for Pascal
> array-of-const param
>
> You have to be in delphi or objfpc mode for this to work apparently.
> Sorry I didn't look that up earlier.
>
>
That did the trick, thanks! It does kick a warning though:
Warning: cdecl'ared functions have no high parameter
I wasn't able to find this in the documentation or the online forum
> Sorry, it should be
>
>
> procedure QMCall(SubrName : PChar; ArgCount : shortint; const Args :
> array of
> const); cdecl; external 'QMClient';
>
> (i.e., another "const" in front of "Args").
>
>
Ok, I made the change:
procedure QMCall(SubrName : PChar; ArgCount : shortint; const Args : array
of
> procedure QMCall(subrname: pchar; argc: shortint; rest: array of
> const); cdecl; external;
>
> You can then call it using
>
> QMCall('test',1,['para1','para2',5,null]);
>
My declaration reads like this:
procedure QMCall(SubrName : PChar; ArgCount : shortint; Args : array of
const); cdecl;
ex
> procedure QMCall(subrname: pchar; argc: shortint; rest: array of
> const); cdecl; external;
>
> You can then call it using
>
> QMCall('test',1,['para1','para2',5,null]);
>
> (I know you said it only needed strings, but it's just to show that you
> can pass anything that way, just like with "...")
I'm working on wrapping a C library that has a function that can handle a
variable number of parameters. What mechanism can I use in FPC to call
this correctly?
The C prototype for the function looks like this:
void QMCall(char * subrname, short int argc, ...);
The function can handle up to 20
> Alan Mead wrote:
>
> Jonas made already TTT patches to throw out all asm iirc. But be
> patient, he's out of office this week :) If he doesn't read this email,
> email him personally.
>
> I propose that we put the sources in the fpc contrib source tree.
That would be fantastic!
g.
__
> On 16 apr 2004, at 07:50, Florian Klaempfl wrote:
>
> >> Before I spend any time on the port - has anyone ported the Turbo
> >> Technojock Toolkit v5.10 to FPC? I saw some mention of it on a four
> >> year
> >> old UseNet posting, but nothing after that.
> >
> > IIRC, Jonas Maebe (jonas at freep
Thanks Florian, I'll do that.
g.
On Fri, 16 Apr 2004, Florian Klaempfl wrote:
> Gene Buckle wrote:
>
> > Before I spend any time on the port - has anyone ported the Turbo
> > Technojock Toolkit v5.10 to FPC? I saw some mention of it on a four year
> > old UseN
Before I spend any time on the port - has anyone ported the Turbo
Technojock Toolkit v5.10 to FPC? I saw some mention of it on a four year
old UseNet posting, but nothing after that.
tnx.
g.
___
fpc-pascal maillist - [EMAIL PROTECTED]
http://lists
The CRT docs indicate that ScreenWidth and ScreenHeight are defined as 80
and 25 respectively. However, they seem to be undefined in the Win32
version of 1.9.2. I haven't checked any other versions.
Here's the example I tested:
program test;
uses
Dos, Crt;
begin
if CheckSnow then
writ
> Hello
>
> How ist possible to make initialize in fpc a multiline label. Something like
>
> Lbl := gtk_label_new('Line1 \n Line2');
>
> I guess but with what do I have to replace the "\n" ?
>
> Thank's for any help
>
Would gtk_label_new('Line1' + #13 + 'Line2'); work?
g.
___
Thanks - I've got that installed already.
g.
On Tue, 11 Feb 2003, Anton Tichawa wrote:
> On Monday 10 February 2003 19:47, you wrote:
> > Can someone point me to some example code that shows access to MySQL via
>
> http://www.freepascal.org/contrib/db.php3?category=Database
>
> --
>
> -
On Mon, 10 Feb 2003, Preben Mikael Bohn wrote:
> Hi Gene, have a look at http://www.freepascal.org/packages/mysql.html
>
> It should be included in your FPC, I think...
>
> Best regards Preben
>
That's a great example of reading, now I need a snippet that shows a write
operation. Ideas?
tnx.
Can someone point me to some example code that shows access to MySQL via
FPC?
tnx.
g.
___
fpc-pascal maillist - [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
26 matches
Mail list logo