having some problems with exception handling that have me pretty
confused i'll include below the entire procedure where the
exception handling occurs ...
Procedure procAddNewAlbum;
Var
tmpAlbumName : AnsiString;
tmpAlbumID : Longint;
tmpNumTra
kractor wrote:
I apologize in advance if I've completely missed something obvious on
this (which *has* been known to happen from time to time), but I'm
having issues with getting JEDI-SDL installed. In reading over the
sections of the Docs I've scanned so far, in the "l
I apologize in advance if I've completely missed something obvious on
this (which *has* been known to happen from time to time), but I'm
having issues with getting JEDI-SDL installed. In reading over the
sections of the Docs I've scanned so far, in the "latest" JEDI-SDL from
sourceforce it indi
Jonas Maebe wrote:
The problem is simply that "readln" is split into "read" and
"readline_end". The former reads whatever you want to read, the latter
consumes the end-of-line. The ioresult is checked after both
operations. If the read already returned an error, then an exception
will be raise
Michael Van Canneyt wrote:
I have been able to reproduce this. However, I'm not sure what the cause
it. My guess is that the end-of-line is not consumed before the
exception is raised, and therefore the
readln(NewAlbum.alLabel);
line gets an empty input line. Delphi does consume the end-of
Michael Van Canneyt wrote:
I have been able to reproduce this. However, I'm not sure what the cause
it. My guess is that the end-of-line is not consumed before the
exception is raised, and therefore the
readln(NewAlbum.alLabel);
line gets an empty input line. Delphi does consume the end-of
Michael Van Canneyt wrote:
On Tue, 16 Mar 2004, kractor wrote:
spent a few moments going over the docs in the manual re: exception
handling. for some reason it just doesn't seem to be sinking in, as
nothing i've tried as of yet has managed to stop prog from crashing when
data in in
Thomas Schatzl wrote:
Hi again,
spent a few moments going over the docs in the manual re: exception
handling. for some reason it just doesn't seem to be sinking in, as
nothing i've tried as of yet has managed to stop prog from crashing when
data in input that's of a different type than program
spent a few moments going over the docs in the manual re: exception
handling. for some reason it just doesn't seem to be sinking in, as
nothing i've tried as of yet has managed to stop prog from crashing when
data in input that's of a different type than program is expecting
(string as opposed
Taj Morton wrote:
It is better to include unit initc though, then including {$linklib c}
Thanks! Got it working!
Find a patch below the example
in /usr/src/fpc-1.0.10/packages/base/sqlite/test.pas
--- test.pas2004-03-03 15:41:32.0 -0800
+++ test-new.pas2004-03-03 15:42:32.000
Dr.Slump wrote:
working on some user-defined variable types for a media database project
i'm working on (slowly, oh so slowly). i've defined types for artist and
album and track (individual). naturally, there's going to be multiple
tracks per album, so i'm assuming that an array would be best to s
working on some user-defined variable types for a media database project
i'm working on (slowly, oh so slowly). i've defined types for artist and
album and track (individual). naturally, there's going to be multiple
tracks per album, so i'm assuming that an array would be best to store
the trac
Steve Williams wrote:
Does FPC support default parameters in procedures/functions? I have FPC
1.0.10 and I cannot get it to compile Delphi code that has default
parameters. I'm using the -Sd option, but I cannot find any mention of
default parameters in the documentation.
I cannot try FPC 1.9.2
Vincent Snijders wrote:
On Tue, 02 Mar 2004 15:48:25 -0500
kractor <[EMAIL PROTECTED]> wrote:
[EMAIL PROTECTED] wrote:
These are known problems.
You must start with a 1.0.10 compiler when you create a new 1.9.X compiler.
Some older (even quite recent) 1.9.x versions won't work
Vincent Snijders wrote:
On Tue, 02 Mar 2004 15:48:25 -0500
kractor <[EMAIL PROTECTED]> wrote:
[EMAIL PROTECTED] wrote:
These are known problems.
You must start with a 1.0.10 compiler when you create a new 1.9.X compiler.
Some older (even quite recent) 1.9.x versions won't work
[EMAIL PROTECTED] wrote:
These are known problems.
You must start with a 1.0.10 compiler when you create a new 1.9.X compiler.
Some older (even quite recent) 1.9.x versions won't work.
oh, so if i've already built / installed cvs version, then have to
remove that and re-install 1.0.10 to build
I'm assuming that in order to access things in a dll file (for example
the sqlite stuff) I would need to review the section in the
documentation on "using windows resources"?
___
fpc-pascal maillist - [EMAIL PROTECTED]
http://lists.freepascal.org/mai
I've finally managed to properly compile the latest CVS (as of an hour
or two ago). Turns out the problems i was having with those permission
denied errors were windows being stupid (right-click -> properties not
showing files are "read only" when they actually were).
Just like to take this tim
i've managed to (mostly) work out the problems i had building latest
cvs. make cycle runs nicely, make all completes w/o crashing, but when i
attempt a "make install" the following happens ...
c:/pp/bin/win32/cp.exe -rfp tests/* /pp/examples/fcl
cp.exe: cannot remove old link to `/pp/examples/fc
initc.ppu] Error 1
make[4]: Leaving directory `C:/Documents and Settings/baron kractor/My
Documents/cvs_root/fpc/rtl/win32'
make[3]: *** [cycle] Error 2
make[3]: Leaving directory `C:/Documents and Settings/baron kractor/My
Documents/cvs_root/fpc/compiler'
make[2]: *** [compiler_cycle] Err
Wondering if anyone had done any work with manipulating id3 tag information
contained in mp3 / vorbis files from within fpc and could point me to some
documentation?
___
fpc-pascal maillist - [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listi
--
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of baron kractor
Sent: December 10, 2003 4:29 PM
To: [EMAIL PROTECTED]
Subject: RE: [fpc-pascal]longint -> Pchar
Got that particular issue fixed. Now I'm having some issues w/ really
strange query results being returned. Even with the
Got that particular issue fixed. Now I'm having some issues w/ really
strange query results being returned. Even with the example code that came
w/ the version of fpc that I'm using, I get the following results from a
query that should return 0 or nil ...
Number of records returned : 8589
Is there a (hopefully easy) way to convert a longint variable to either
Pchar / string / ansistring without changing the contents of the variable?
For example, longint variable containing "12345" converted to one of the
string types would still print as "12345". Closest I've been able to get so
fa
lorian Klaempfl
Sent: November 24, 2003 9:52 AM
To: [EMAIL PROTECTED]
Subject: Re: [fpc-pascal]mysql unit under win32
baron kractor wrote:
> Was just curious is anyone had come across any worthy documentation /
> examples of using the mysql unit in a win32 environment?
Hmm, it's use is
Was just curious is anyone had come across any worthy documentation /
examples of using the mysql unit in a win32 environment?
___
fpc-pascal maillist - [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
26 matches
Mail list logo