Hi,
is it possible to have an array initialized with variables?
I tried sth. like this (by accident, not intentionally):
const
ctypes: array [0..9] of hid_t =
(
H5T_NATIVE_INT, H5T_C_S1, H5T_C_S1, H5T_C_S1, H5T_C_S1,
H5T_C_S1, H5T_C_S1, H5T_C_S1, H
Am Dienstag, den 03.06.2008, 15:41 +0200 schrieb Michael Van Canneyt:
>
> On Tue, 3 Jun 2008, Marc Santhoff wrote:
>
> > Hi,
> >
> > is it possible to have an array initialized with variables?
> >
> > I tried sth. like this (by accident, not intentionally
Hi,
I'm in the process of making a package for fpc platform aware. It is
developed and working on FreeBSD and I want to make it usable on
Windows, too.
My problems are:
1. How can/should the target path of the target "zipsourceinstall" be
set, so that it will work on both platforms? Currently it
Am Mittwoch, den 04.06.2008, 23:38 +0200 schrieb Marc Santhoff:
> Hi,
>
> I'm in the process of making a package for fpc platform aware. It is
> developed and working on FreeBSD and I want to make it usable on
> Windows, too.
>
> My problems are:
>
> 1. How c
Hi,
I still have no success in linking against a dll on windows.
The dll import source looks like this:
...
{$linklib 'hdf5'}
...
function H5open:herr_t;{$ifdef BSD}cdecl{$endif}{$ifdef
Win32}stdcall{$endif};external;
function H5close:herr_t;{$ifdef BSD}cdecl{$endif}{$ifdef
Win32}stdcall{$endi
Am Samstag, den 07.06.2008, 10:24 +0200 schrieb Michael Van Canneyt:
>
> On Sat, 7 Jun 2008, Marc Santhoff wrote:
>
> > Hi,
> >
> > I still have no success in linking against a dll on windows.
> >
> > The dll import source looks like this:
> >
Hi again,
I have more questions on linking. What can prevent dynamic linking from
being possible? Like in the following snippet from fpcdebug.txt:
8000:Searching file D:\FPC\2.2.0\BIN\I386-WIN32\libhdf5.dll.a... not found
8000:Searching file hdf5.dll... found
8000:unit H5_ATTRIBUTE ca
Am Sonntag, den 08.06.2008, 11:34 +0200 schrieb Michael Van Canneyt:
>
> On Sat, 7 Jun 2008, Marc Santhoff wrote:
>
> > Am Samstag, den 07.06.2008, 10:24 +0200 schrieb Michael Van Canneyt:
> > >
> > > On Sat, 7 Jun 2008, Marc Santhoff wrote:
> > >
&g
Am Sonntag, den 08.06.2008, 12:35 +0200 schrieb Marc Santhoff:
> > > Another part is to adapt the declaration of variables. Currently they
> > > are defined like this:
> > >
> > > H5T_NATIVE_SCHAR_g : hid_t;cvar;external;
> > >
> > > and a
Am Sonntag, den 08.06.2008, 12:52 +0200 schrieb Michael Van Canneyt:
>
> On Sun, 8 Jun 2008, Marc Santhoff wrote:
>
> > Hi again,
> >
> > I have more questions on linking. What can prevent dynamic linking from
> > being possible? Like in the fo
Hi,
when using fpcmake to create distribution packages anything in the
source dir is getting packed into the "zipsourceinstall"-package.
Is it possible to exclude some selected files or directories by naming
them in the Makefile.fpc?
TIA,
Marc
___
fp
Hi,
maybe my docs are outdated, but I didn't find an explanation for this
one (found in several files in the fpc packages tree):
[shared]
build=n
What's it good for?
TIA,
Marc
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.
Am Montag, den 21.07.2008, 07:43 +0200 schrieb Peter Vreman:
> > Hi,
> >
> > when using fpcmake to create distribution packages anything in the
> > source dir is getting packed into the "zipsourceinstall"-package.
> >
> > Is it possible to exclude some selected files or directories by naming
> > th
Hi,
I understand right that (as I have asked before) an empty (ansi)string
is equal to NIL.
If this is correct, is setting a string to '' the same as setting the
string to NIL?
So i can e.g. use exchagably:
{$H+}
var
s: string;
begin
s := 'something';
{ this ... }
s := '';
{ ... wo
Am Mittwoch, den 23.07.2008, 08:28 +0100 schrieb Jonas Maebe:
> On 23 Jul 2008, at 06:32, Marc Santhoff wrote:
>
> > I understand right that (as I have asked before) an empty (ansi)string
> > is equal to NIL.
>
> True.
>
> > If this is correct, is setting a str
Am Mittwoch, den 23.07.2008, 14:40 +0200 schrieb Graeme Geldenhuys:
> Hi,
>
> I have a function called fpgOpenURL(...) which contains the following
>
> if fpsystem('which xdg-open') = 0 then
> Helper := 'xdg-open'
> else if fpsystem('which firefox') = 0 then
> Helper := '
Am Mittwoch, den 23.07.2008, 17:10 -0300 schrieb Joao Morais:
> Luca Olivetti wrote:
> > El Wed, 23 Jul 2008 17:15:13 +0200
> > Marc Santhoff <[EMAIL PROTECTED]> escribió:
> >
> >> That's the important part, I'm dealing with cleanly freeing strings
&
Am Mittwoch, den 23.07.2008, 19:21 +0200 schrieb Luca Olivetti:
> El Wed, 23 Jul 2008 17:15:13 +0200
> Marc Santhoff <[EMAIL PROTECTED]> escribió:
>
> > That's the important part, I'm dealing with cleanly freeing strings
> > when destroying objects.
>
>
Am Mittwoch, den 06.08.2008, 12:15 +0200 schrieb T. Guilleminot:
> Hi,
>
> I'd like to be able to pass/access variable(s ?) to/from the "data" part
> of the "g_signal_connect" function, eg :
>
> ...
> Procedure MyActionProcedure (widget : pGtkWidget ; data : gpointer)
> cdecl;
> begin
Me again,
I forgot a general note:
If you can, do step back from using plain gtk+, especially the version
1.x.
That one is buggy and dead in sense of noone working at it anymore.
I had a really painful time using plain GTK+1.2 and if I had to decide
which library and toolkit today, I'd pick Laz
Hi,
for some reason I have to have a compiler creating binaries for FreeBSD
4 at hand.
Since all computers around here are on the way to FreeBSD 6 or 7 I have
to decide between having a seperate disk or partition or virtual machine
for FreeBSD 4 and setting up a build environment running on v6 an
Am Donnerstag, den 21.08.2008, 13:05 +0400 schrieb Boris Samorodov:
> On Thu, 21 Aug 2008 00:39:55 +0200 Marc Santhoff wrote:
>
> > for some reason I have to have a compiler creating binaries for FreeBSD
> > 4 at hand.
>
> > Since all computers around here are on the w
Hi,
I'm trying to compile LPTK 0.9.0 on FreeBSD 4 using a working fpc 2.0.4.
I use this compiler for a long time now and never had the symptoms as
following:
At first the compiler does not find librt and libdl. I know these exist
only on Linux and don't know, why they are tried to be pulled in.
Am Freitag, den 22.08.2008, 08:56 +0200 schrieb Marco van de Voort:
> In our previous episode, Marc Santhoff said:
[...]
> > What going on here? How can I repair it?
>
> Eliminate use of the libc unit, using mostly baseunix, dynlibs and the like
> (the above url has a longer
Hi,
is there any function or set of functions for handling symbolic links
inside the file system at an os independant level in fpcs libraries?
Unix-like systems have soft symlinks (Linux, FreeBSD), Windows has .lnk
files upt to XP and AFAIR Windows Vista has some other stuff I don't
know about ye
Am Freitag, den 31.10.2008, 18:43 +0100 schrieb Michael Van Canneyt:
>
> On Fri, 31 Oct 2008, Marc Santhoff wrote:
>
> > Hi,
> >
> > is there any function or set of functions for handling symbolic links
> > inside the file system at an os independant level in f
Am Samstag, den 01.11.2008, 10:09 +0100 schrieb Tomas Hajny:
> On 31 Oct 08, at 17:49, Marc Santhoff wrote:
>
> Hi,
>
> > is there any function or set of functions for handling symbolic links
> > inside the file system at an os independant level in fpcs libraries?
> &g
Am Sonntag, den 09.11.2008, 23:46 + schrieb Henry Vermaak:
> 2008/11/9 Marc Santhoff <[EMAIL PROTECTED]>:
> > Hi,
> >
> > how can I build the RTL and other packages containing debug symbols?
> >
> > Is it sufficient to do sth. like:
> >
> >
Hi,
how can I build the RTL and other packages containing debug symbols?
Is it sufficient to do sth. like:
cd rtl
make clean allinstall
?
TIA,
Marc
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/lis
Am Mittwoch, den 12.11.2008, 20:00 +0100 schrieb Marc Santhoff:
> Am Mittwoch, den 12.11.2008, 20:02 +0200 schrieb KES:
> > I have tryed in C:
> >
> > extern int fntest();
> >
> > int fntest()
> > {
> > return 8;
> > }
> >
> > this
Another observation:
In any case you get the error message:
> function FNTEST2 is not defined
> module name or entrypoint could not be found
If the function name is there and written correctly, make sure the
module (= your library) is found. I'm not used to making UDFs, but
somehow the search pa
Am Mittwoch, den 12.11.2008, 21:40 +0200 schrieb KES:
> Здравствуйте, Marc.
>
> Вы писали 12 ноября 2008 г., 21:20:23:
>
> MS> Am Mittwoch, den 12.11.2008, 20:00 +0100 schrieb Marc Santhoff:
> >> Am Mittwoch, den 12.11.2008, 20:02 +0200 schrieb KE
Am Mittwoch, den 12.11.2008, 20:02 +0200 schrieb KES:
> I have tryed in C:
>
> extern int fntest();
>
> int fntest()
> {
> return 8;
> }
>
> this work, but fpc does not (((
Maybe looking at the .o with nm helps to show you how the function name
is mangled.
Or use "fpc -s ..." and "gcc -S -fver
Am Mittwoch, den 12.11.2008, 22:55 +0200 schrieb KES:
> Здравствуйте, Marc.
>
> Вы писали 12 ноября 2008 г., 22:13:32:
>
> MS> Another observation:
>
> MS> In any case you get the error message:
>
> >> function FNTEST2 is not defined
> >> module name or entrypoint could not be found
>
> MS> If
Hi,
I'm trying to assing dynamic array variables to a record type on the
heap and handing that record over to the caller:
type
TCompoundInfo = record
Id: hid_t;
Name: string;
TotalSize: longword;
ElementNames: array of PChar;
Am Mittwoch, den 12.11.2008, 22:30 +0100 schrieb Jonas Maebe:
> On 12 Nov 2008, at 21:53, Marc Santhoff wrote:
>
> > constructor TTableDescriptor.create;
> > begin
> > inherited create;
> > GetMem(fInfo, sizeof(TTableInfo));
>
> Getmem allocates memory, but
Hi,
long time ago I had problems with stdxxx being in non-blocking i/o mode.
The suggestion was to close and re-open the channels from the system
units init code.
I ran into this problem again and would like to know:
How can I close and reopen stderr and sdtout from my program?
I want to have s
Am Donnerstag, den 13.11.2008, 18:59 +0200 schrieb KES:
> Здравствуйте, Marc.
>
> Вы писали 12 ноября 2008 г., 23:12:43:
> MS> Then I'd say the fault is clearly on the firebird side.
>
> MS> One last thing I'd try is to use another name (like with ld: using
> MS> -lmine is searching for "libmin
Am Donnerstag, den 13.11.2008, 01:42 +0100 schrieb Marc Santhoff:
> Hi,
>
> long time ago I had problems with stdxxx being in non-blocking i/o mode.
> The suggestion was to close and re-open the channels from the system
> units init code.
>
> I ran into this problem again a
Am Donnerstag, den 13.11.2008, 20:57 +0100 schrieb Jonas Maebe:
> On 13 Nov 2008, at 01:42, Marc Santhoff wrote:
>
> > long time ago I had problems with stdxxx being in non-blocking i/o
> > mode.
> > The suggestion was to close and re-open the channels from the sy
Am Freitag, den 05.12.2008, 17:40 +0100 schrieb Ingemar Ragnemalm:
> Now everything must have inherited design
> flaws from C just because of what was available in the 80's.
This is one strong argument against porting Lunix to Pascal, isn't it?
Porting means sort of translating old design flaws t
Hi,
I'm trying hard to make a package thatfits inside fpc/packages/extra.
Most things do work, but some details are missing still.
How and where is the setting made that directs the output of package
compilation to $targetos/something and the installation target path?
A typical packages/extra Ma
Hi,
currently I'm observing the following behaviour:
- test cases are run in the order of their registration
- testing procedures (per test) are run in the order of their
declaration in the test class
Since I can save a lot of work depending on this orders I'd like to do
so. ;)
Is there any arg
Am Sonntag, den 07.12.2008, 09:20 +0200 schrieb Graeme Geldenhuys:
> On Sun, Dec 7, 2008 at 1:08 AM, Marc Santhoff <[EMAIL PROTECTED]> wrote:
> >
> > Since I can save a lot of work depending on this orders I'd like to do
> > so. ;)
>
> Could you explain, I
Am Montag, den 08.12.2008, 10:27 +0100 schrieb Jonas Maebe:
> On 08 Dec 2008, at 00:33, Prince Riley wrote:
> > Reading the GNU as manual, the arch parameter value needs to be set
> > to one
> > of several values. It can also specify generic ARM architecture, but
> > that
> > choice in additio
Am Montag, den 08.12.2008, 08:19 +0200 schrieb Crause, Christo (JC):
> Some proof of the concept: ClassiOS
> (http://www.petros-project.com/index.php/products/classios.html) was
> written in Delphi.
Thanks for pointing this out, I didn't know that one yet.
> Not an open source project, but it s
Am Montag, den 08.12.2008, 19:22 +0100 schrieb Jonas Maebe:
> On 08 Dec 2008, at 18:26, Marc Santhoff wrote:
>
> > There are some ARM7 (and maybe ARM9, not sure) core variants having no
> > hardware multiplication unit. IIRC the M in TDMI stands for "hardware
> >
Am Montag, den 08.12.2008, 13:43 -0600 schrieb Prince Riley:
> Perhaps the person who coded that support into FP can write back and
> say which ARM op codes look-up table it uses generating the FP
> compiled code. Is it ARM7? Is it ARM9?, Is it ARM4/5?
As already mentioned by Jonas: it is the Ach
Hi,
I' trying again, apparently I wasn't able to make my problem clear.
I want to write a Makefile.fpc for fpcmake that does the same thing as
any other package inside the $fpc/packages/extra directory tree.
How can I force the output directory of .ppu files to the correct place
(being ./units/$
Am Montag, den 08.12.2008, 22:24 +0100 schrieb Jonas Maebe:
> As far as I can tell it's simply the default behaviour of the
> Makefiles generated by fpcmake:
LOL, so that's the reason why I cannot find it.
Many thanks,
Marc
___
fpc-pascal maillist
Am Montag, den 08.12.2008, 15:04 -0600 schrieb Prince Riley:
> Marc,
>
> Just wanted to say thank you for that info.. much obliged.
If you want to know more about what code the compiler produces there are
two more opportunities:
First you can tell the compiler to not delete the intermediate asse
Am Dienstag, den 09.12.2008, 09:53 +0100 schrieb Marco van de Voort:
> In our previous episode, Marc Santhoff said:
> > > some small THUMB things, but FPC doesn't generate THUMB code).
> >
> > One possible difference coming to my mind (although only a speed issue,
&g
Am Freitag, den 12.12.2008, 13:10 +0200 schrieb KES:
> Здравствуйте, Seth.
>
>
> kes# fpc -Sgi -CX -Xs -XX -vewnhi -l -Fu. -olibtest.so test.lpr
> Hint: Start of reading config file /usr/local/etc/fpc.cfg
> Hint: End of reading config file /usr/local/etc/fpc.cfg
> Free Pascal Compiler version 2.2
Am Donnerstag, den 18.12.2008, 09:02 +1100 schrieb Paul Nicholls:
> Hi all,
> I am wondering if anyone here has ever managed to use the free
> open-source OpenCASCADE 3d tools (www.opencascade.org) with Pascal
> before?
I don't think so, but I remember two facts:
The toolkit is huge, porting
Am Freitag, den 19.12.2008, 08:46 +1100 schrieb Paul Nicholls:
> "Marc Santhoff" wrote
> in message news:1229580231.333.8.ca...@localhost.das.netz...
> > Am Donnerstag, den 18.12.2008, 09:02 +1100 schrieb Paul Nicholls:
> >> Hi all,
> >> I am wonderin
Hi,
I'd like to ask:
Is there any tool for creating the syntax diagrams shown in the
reference guide?
If yes, which one and where can I get it?
TIA,
Marc
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman
Am Samstag, den 20.12.2008, 12:39 +0100 schrieb Michael Van Canneyt:
>
> On Sat, 20 Dec 2008, Marc Santhoff wrote:
>
> > Hi,
> >
> > I'd like to ask:
> >
> > Is there any tool for creating the syntax diagrams shown in the
> > reference guide
you are using real files or named devices you could switch to using
"sysutils". There you'll find "FileOpen", "FileREad" and so on. The
modes are called "fmOpenRead", ...
Search through the rtl.pdf. I think these should be cross platform. For
usin
TTreeView.AddChild(ParentNode: TTreeNode; const s: string): TTreeNode
TIA,
--
Marc Santhoff
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
he installed documentation (pdf) of fpc 2.2.2 doesn't enlight
me so far, no mention of unit "cwstring" at all. Only some conversion
routines I cannot relate to what I'm doing.
I'll see if the Wiki can help me out,
Thank you.
Marc Santhoff
--
"Jeder Mensch hat das Re
m I am working on, Values will be an array of 128
> integers and
> I would like to initialize them to 0.
Use fillchar() as others mentioned.
--
Marc Santhoff
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Am Freitag, den 03.04.2009, 11:24 +0200 schrieb Graeme Geldenhuys:
> I currently use "Dia Diagram editor" to design UML diagrams, but as
> far as I know it does generate any code. :-(
http://dia2code.sourceforge.net/
--
Marc Santhoff
___
f so, how can I do?
TIA,
Marc
--
Marc Santhoff
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
round selection per os and cpu there seems to be a better way
(regarding include files?).
TIA,
--
Marc Santhoff
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
irectory names.
> That's what the compiler do all this time.
I see.
So doing that way would lead to move the dependencies out of the pascal
source into some form of build script. I'll think about what fits my
needs better.
Thank you very much,
--
Marc Santhoff
{$IFDEF UNIX}{$IFDEF UseCThreads}
cthreads,
{$ENDIF}{$ENDIF}
Interfaces, // this includes the LCL widgetset
Forms
{ you can add units after this }, cwstring, ...
HTH,
--
Marc Santhoff
___
fpc-pascal maillist - fpc-pascal@list
I didn't name those functions. IIRC I asked myself the
same question. ;)
Munter bleiben,
--
Marc Santhoff
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
currently.
TIA,
--
Marc Santhoff
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
ead a
runtime error 211 is thrown.
What I want is to ensure not forgetting to override any method. The
compiler should stop on error when this happens.
How can this be done?
(I know the compiler does emit a warning, but switching to "stop on
warning" is o option for me.)
TIA,
--
Am Sonntag, den 16.08.2009, 12:00 +0200 schrieb Jonas Maebe:
> On 16 Aug 2009, at 04:37, Marc Santhoff wrote:
>
> > What I want is to ensure not forgetting to override any method. The
> > compiler should stop on error when this happens.
> > How can this be done?
> >
Am Sonntag, den 16.08.2009, 20:05 +0200 schrieb Jonas Maebe:
> On 16 Aug 2009, at 19:58, Marc Santhoff wrote:
>
> > Am Sonntag, den 16.08.2009, 12:00 +0200 schrieb Jonas Maebe:
> >>
> >
> >> Seems like there is a practical use-case for
> >>
Am Montag, den 17.08.2009, 09:12 +0200 schrieb Graeme Geldenhuys:
> Marc Santhoff wrote:
> >
> > the compiler runs and throws no error. Fine, but this way every class
>
> Because you did not instantiate any instances of that class. Here is the
> output after compiling my
an embedded OS like eCos or FreeRTOS would still require a full OS and
CPU port of fpc to this target, right?
--
Marc Santhoff
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Hi,
if a Makefile.fpc is generated by lazarus from a lazarus package (.lpi
file), would this Makefile.fpc be sufficient for integrating the package
into the fpc package tree below the "extra" directory?
TIA,
--
Marc Santhoff
___
fpc-pasca
Am Dienstag, den 25.08.2009, 10:17 +0200 schrieb Marco van de Voort:
> On Tue, Aug 25, 2009 at 08:55:42AM +0200, Marc Santhoff wrote:
> > if a Makefile.fpc is generated by lazarus from a lazarus package (.lpi
> > file), would this Makefile.fpc be sufficient for integrating the packa
Am Dienstag, den 25.08.2009, 10:31 +0200 schrieb Jonas Maebe:
> On 25 Aug 2009, at 08:55, Marc Santhoff wrote:
>
> > if a Makefile.fpc is generated by lazarus from a lazarus package (.lpi
> > file), would this Makefile.fpc be sufficient for integrating the
> > package
Hi everyone,
is a complete grammar for fpc written in some variant of BNF available
somewhere?
I searched the website and the wiki, to no avail.
TIA,
Marc
--
Marc Santhoff
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http
dding language features by directly
> modifying the code. Even there's a bounty for it. See:
> http://wiki.lazarus.freepascal.org/Bounties#FPC_grammar
Okay, nothing to play with without huge effort. ;)
Thank you,
Marc
--
Marc Santhoff
___
fpc-pasca
Am Freitag, den 16.10.2009, 22:50 +0200 schrieb Graeme Geldenhuys:
> 2009/10/15 Marc Santhoff :
> >
> > is a complete grammar for fpc written in some variant of BNF available
> > somewhere?
>
> About 2 weeks ago, I had no clue what BNF was. Funny that you mention
>
14); { last figure would be 1000 for you,
bytes to read }
if (res < 0) then
{ signal error }
...
That way I use serial ports successfully on FreeBSD and Windows.
HTH,
Marc
--
Marc Santhoff
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Hi,
after finding the floating point calculations implementation for fpc[1]
I'm asking myself if it is possible to force fpc to use it although the
CPU does actually have a FPU built in.
How can this be done?
[1] /usr/home/marc/fpc-2.2.2/share/src/fpc-2.2.2/rtl/inc/softfpu.pp
--
Marc San
tic device nodes seen
here for ttys or if they are created dynamically and the rights have to
be set in some configuration file - consult your systems docs or a good
tutorial or book an those questions.
Try at the console:
$ man chown
$ man group
$ man ttys
at least on FreeBSD this manual pages
Am Dienstag, den 03.11.2009, 11:30 +0100 schrieb Florian Klaempfl:
> Marc Santhoff schrieb:
> > Hi,
> >
> > after finding the floating point calculations implementation for fpc[1]
> > I'm asking myself if it is possible to force fpc to use it although the
> >
send the TERM signal is using 'kill'. This kills the
> app rather letting it exit gracefully.
You can send any defined signal using kill. Try:
# kill -TERM
for sending the TERM signal. At least FreeBSDs kill works that way. If
yours doesn't t
s actually print out
something (one line).
What's wrong here?
--
Marc Santhoff
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Dear list readers,
is there any source for reading and parsing mbox files?
I know those files are simple, but if someone has done something already
that would be nice. Especially indexing headers would be perfect ...
TIA,
Marc
--
Marc Santhoff
ever or nothing
...
<nextsibling>
...
Afterwards:
whatever or nothing
...
...
All of the nodes except root may have attributes, text content and child
nodes.
Marc
--
Marc Santhoff
___
fpc-pascal maillist - fpc-pascal@list
Sorry, I messed up the structure of the example ...
Am Dienstag, den 04.05.2010, 19:30 +0200 schrieb Marc Santhoff:
> Example
> ---
> Now:
>
>
> whatever or nothing
>
> ...
> <nextsibling>
> ...
>
>
&g
;
> 499 else
> 500 return 0xb + pfi_channel;
> 501 }
>
>
> is the inline the problem ?
If it is you can resolve it using the C preprocessor using a command
line similar to this one:
cpp --no-stdinc comedi.h > comedi.cpped.h
Afterwards try h2p
Am Mittwoch, den 14.12.2005, 09:43 +0100 schrieb Tiziano - Mekar Srl -:
> hi,
>
> Is here someone that knows if there is a way to take control of
> Opeoffice with FPC?
>
> Time ago I made something with Delphi and OpenOffice COM Bridge, it was
> an interesting and stimulating experience, mainly b
Am Freitag, den 16.12.2005, 00:25 -0200 schrieb Felipe Monteiro de
Carvalho:
> On 12/15/05, Marc Santhoff <[EMAIL PROTECTED]> wrote:
> > This is difficult. I'm not aware of all the gory details, but:
>
> Besides difficult this is not needed. It is better to translate f
Am Samstag, den 17.12.2005, 18:23 +0200 schrieb Ziegenhorn Tourism
Database:
> Some weeks ago I switched from 1.0.x to 2.0.0.
>
> Well, a lot of work to eleminate "oldlinux", but it
> works fine. I updated to 2.0.2 and something happend:
>
> I have some cgi-programs for a virtual FreeBSD 4.7 Serv
Hi,
the subject tells what I'm searching for:
How can i wait a definit amount of time in a platform independant way?
I need to pause a while loop for 1 second. The program should run at
least on FreeBSD and Windows.
while NOT doStop do begin
{ wait a little }
doSomethi
Am Samstag, den 04.03.2006, 19:33 +0100 schrieb Vincent Snijders:
> Marc Santhoff wrote:
> > Hi,
> >
> > the subject tells what I'm searching for:
> >
> > How can i wait a definit amount of time in a platform independant way?
> >
> > I need to p
Hi,
I'm trying to use a serial port at 1200baud, 7N2 with this code
sequence:
fCom := fpOpen('/dev/cuaa0', O_RDWR OR O_NOCTTY );//OR O_NONBLOCK);
if (fCom < 0) then begin
writeln(stderr, 'Couldn''t open serial port.');
halt(1);
end;
r := 0;
fillchar(tios, sizeof(tios), #0);
cfs
Am Freitag, den 10.03.2006, 16:46 +0100 schrieb Sebastian Günther:
> Marc Santhoff schrieb:
> >
> > Maybe I have looked at it for too long, where is the problem?
>
> just by the way, there is a unit called 'serial' in Free Pascal. Perhaps
> you might want t
Am Freitag, den 10.03.2006, 17:06 +0100 schrieb Michael Van Canneyt:
>
> On Fri, 10 Mar 2006, Sebastian Günther wrote:
>
> > Marc Santhoff schrieb:
> >>
> >> Maybe I have looked at it for too long, where is the problem?
> >
> > just by the way, t
Hi again,
from trying and decoding error messages I know the call to tcsetattr
fails with an invalid input. The problem is caused by trying to set the
field termios.c_ospeed, if left out the call is successfull. So I went
the way trough the sources and have found something.
On FreeBSD 4.11 termio
Resending, was blocked:
Am Samstag, den 11.03.2006, 12:26 +0100 schrieb Marco van de Voort:
> > Note the line in pascal saying "c_line: char" which is missing in the
> > systems declaration. This is an error, insn't it?
>
> I think so. Can you verify that it works with that line commented?
It l
Resending second time, was blocked again:
Am Samstag, den 11.03.2006, 12:26 +0100 schrieb Marco van de Voort:
> > Note the line in pascal saying "c_line: char" which is missing in the
> > systems declaration. This is an error, insn't it?
>
> I think so. Can you verify that it works with that lin
1 - 100 of 593 matches
Mail list logo