they don't last. And, these
were not cheap ones - they cost me ~$600 USD each for 1TB. I've gone
back to rotating magnetic media as I've only lost 2 of those in 35 years...
-Jim
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
h
they don't last. And, these
were not cheap ones - they cost me ~$600 USD each for 1TB. I've gone
back to rotating magnetic media as I've only lost 2 of those in 35 years...
-Jim
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
h
me MumbleScript, or whatever the hot language of
the week happens to be.
-Jim
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
On 07/17/18 13:28, Ryan Joseph wrote:
On Jul 17, 2018, at 2:07 PM, Jim Lee wrote:
And that's why I hesitate whenever someone comes along and says we should add
to Pascal
I just want my life to be easier and to enjoy programming in Pascal as much as
possible. If I’m doing work I
On 07/17/18 11:50, Ryan Joseph wrote:
On Jul 17, 2018, at 12:24 PM, Jim Lee wrote:
It has to fit the spirit of the language as well.
I don’t propose new features to copy other languages but I’ll mention other
languages as evidence that more people than just myself have discovered some
On 07/17/18 11:00, Ryan Joseph wrote:
On Jul 17, 2018, at 11:27 AM, Jim Lee wrote:
Likewise, "modern" programming languages are all converging on a common feature
set, like cultural cross-pollination.
if that’s our mindset then how do we account for times when we’ve actually
.
Likewise, "modern" programming languages are all converging on a common
feature set, like cultural cross-pollination.
I prefer to have a variety of dialects and paradigms to choose from (and
a variety of cultures) over a global sameness.
-Jim
_
the program must end with "Thank you."
-Jim
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
that may give you an example of how to wrap the hamlib
library with a pascal interface:
https://www.cqrlog.com/
Hope this helps,
-Jim W7JLL
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman
supposedly Pascal's
most significant paradigm: strong typing. As Jim Lee points out,
strong typing does limit utility - but if utility is first concern, a
weakly typed language such as C would be more appropriate.
When looking at the (partial) disassembly of my little program, we see
to what d
/unsigned values, the utility
of the language is greatly diminished.
-Jim
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
tributions or ideas welcome.
That's what I'm trying to do. And, thank you for your own heroic
contributions!
-Jim
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
There is 1 documenter: me.
Pardon my ignorance, but I take it that "packages" is more like an
un-curated repository of contributions rather than an official part of
the fpc distribution? If so, I wasn't aware of that. It would explain
a big part of my frustrat
On 07/01/18 12:07, wkitt...@windstream.net wrote:
On 07/01/2018 02:38 PM, Jim Lee wrote:
The most common scenario for me is this: "I wonder if fpc (or Lazarus)
already has ". Go to the wiki and browse
haphazardly,
looking for [...]
that may be part of your problem... you'
uch the only game in
town when it comes to a cross-platform Pascal able to be used for
low-level, even bare metal programming. I also realize that
documentation is often low on the list of priorities - but good
documentation is vital to build a user bas
it's
back to the land of C for me. Too bad - Pascal was always my favorite
language.
-Jim
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
ideal. At some point I'd even
like to contribute to the documentation, but right now it's a Catch-22
that has me seriously considering giving up on these tools (and that
from 40+ years of programming veteran!)...
-Jim
P.S. - Read this as frustration, not criticism. I'd just l
On 06/23/2018 02:18 PM, Sven Barth via fpc-pascal wrote:
Jim Lee mailto:jle...@gmail.com>> schrieb am Sa.,
23. Juni 2018, 17:34:
Hi, newbie to fpc (but not Pascal) here.
I'm trying to compile the fpc trunk from svn on linux. I managed to
find the buildfaq, but I
On 06/23/2018 08:46 AM, Jonas Maebe wrote:
On 23/06/18 06:24, Jim Lee wrote:
I'm trying to compile the fpc trunk from svn on linux. I managed to
find the buildfaq, but I'm running into problems.
I've done this:
$ svn checkout http://svn.freepascal.org/svn/fpcbuild fpcbuild
]: Leaving directory '/home/jlee/src/Pascal/fpcbuild/trunk/fpcsrc'
make: *** [Makefile:2278: fpcsrc/build-stamp.x86_64-linux] Error 2
What am I missing?
Thanks,
-Jim
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
t with slightly different syntax. Nevermind. I sometimes do not even
understand how people did stuff for 50 years without
TObjectClassAdvancedTemplateGenericRecordRTTI...
Restraint is a virtue exercised by the wise and experienced; the young
and foolish prefer
e for each component reference."
--
Jim Leonard (trix...@oldskool.org)
Check out some trippy MindCandy: http://www.mindcandydvd.com/
A child borne of the home computer wars: http://trixter.oldskool.org/
You're all insane and trying to steal my magic bag!
gal-assignment-to-For-Loop-variable-in-Free-pascal-tp5719603.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-
], we
could advise how difficult it would be to port...
--
Jim Leonard (trix...@oldskool.org)
Check out some trippy MindCandy: http://www.mindcandydvd.com/
A child borne of the home computer wars: http://trixter.oldskool.org/
You're all insane and trying to steal my
On 4/6/2014 4:40 PM, m...@rpzdesign.com wrote:
Jim:
Are you able to web surf to the lazarus.freepascal.org web site?
Yes.
--
Jim Leonard (trix...@oldskool.org)
Check out some trippy MindCandy: http://www.mindcandydvd.com/
A child borne of the home computer wars: http://trixter.oldskool.org
cgi-bin/mailman/listinfo/fpc-pascal
--
Jim Leonard (trix...@oldskool.org)
Check out some trippy MindCandy: http://www.mindcandydvd.com/
A child borne of the home computer wars: http://trixter.oldskool.org/
You're all insane and trying to steal my magic bag!
__
iteration
depending on the number and status of the entries.
--
Jim Leonard (trix...@oldskool.org)
Check out some trippy MindCandy: http://www.mindcandydvd.com/
A child borne of the home computer wars: http://trixter.oldskool.org/
You're all insane and trying to steal my magi
On 3/13/2014 9:49 AM, Jim Leonard wrote:
On 3/12/2014 6:58 PM, Philippe wrote:
you could
- store the actual collection to a TMemoryStream,
- destroy the collection,
- Load then a new collect to be sort with different method ...
Yes, that's what I'm doing now for every re-sort.
an override any of the methods, but
if not, it sounds like this is what I'll have to do unless I want to
write my own custom data structure for this process.
--
Jim Leonard (trix...@oldskool.org)
Check out some trippy MindCandy: http://www.mindcandydvd.com/
A child borne of the home
ltaneously.
--
Jim Leonard (trix...@oldskool.org)
Check out some trippy MindCandy: http://www.mindcandydvd.com/
A child borne of the home computer wars: http://trixter.oldskool.org/
You're all insane and trying to steal my magic bag!
___
fpc-pascal m
t's kept sorted only through inserts
and deletes.
--
Jim Leonard (trix...@oldskool.org)
Check out some trippy MindCandy: http://www.mindcandydvd.com/
A child borne of the home computer wars: http://trixter.oldskool.org/
You're all insane and try
Sorry, some Turbo Pascal-isms in my initial mail -- I see that
FreePascal's TCollection class has an explicit .Sort method so this
helps me re-sort on demand, but it doesn't help me switch the Compare
method. So, my question still stands.
On 3/12/2014 1:51 PM, Jim Leonard wrote:
I
y own sort
routines for a plain TCollection)?
--
Jim Leonard (trix...@oldskool.org)
Check out some trippy MindCandy: http://www.mindcandydvd.com/
A child borne of the home computer wars: http://trixter.oldskool.org/
You're all insane and trying to ste
record is 'large'... but then
again... some thought and meditation is necessary ;)
Not much thought required -- a pointer to the record is 4 bytes, no
matter how large the record is. In fact, it's probably faster than what
you're doing, and more flexible.
--
Jim Leonard (t
then Compare := 1
else Compare := 0;
end;
--
Jim Leonard (trix...@oldskool.org)
Check out some trippy MindCandy: http://www.mindcandydvd.com/
A child borne of the home computer wars: http://trixter.oldskool.org/
You're all insane and trying to steal my magic bag!
__
efore the
insertion, then call a normal .Insert? Why overload something if there
isn't really a need to?
--
Jim Leonard (trix...@oldskool.org)
Check out some trippy MindCandy: http://www.mindcandydvd.com/
A child borne of the home computer wars: http://trixter.oldskool.org/
You're all
model, whose entire model (inheritance)
addresses this sort of thing.
--
Jim Leonard (trix...@oldskool.org)
Check out some trippy MindCandy: http://www.mindcandydvd.com/
A child borne of the home computer wars: http://trixter.oldskool.org/
You're all insane and trying to steal my magi
On 11/10/2013 2:41 AM, Jürgen Hestermann wrote:
But the debugger is not able to do this.
So you need to write
foo^[i]
when you want to examine this value in watch window or other debug windows.
Works perfectly, thanks very much.
--
Jim Leonard (trix...@oldskool.org)
Check out some trippy
2]) but I must be doing it wrong as those aren't working.
What is the proper way to cast dynamic arrays so that I can inspect them
in the watch window?
--
Jim Leonard (trix...@oldskool.org)
Check out some trippy MindCandy: http://www.mindcandydvd.com/
A child borne of the home computer wars:
er is something where I can rewrite a line/section, compile,
and then view the disassembly to see if what I wrote produces more
optimal code.
--
Jim Leonard (trix...@oldskool.org)
Check out some trippy MindCandy: http://www.mindcandydvd.com/
A child borne of the home computer wars:
On 9-8-2011 17:49, Jonas Maebe wrote:
>
> On 09 Aug 2011, at 17:04, Jim wrote:
>
>> 4. I just tried to open up communication and provide a way for
>> both sides to communicate and keep track of things.
> The problem is that this is generally not how things actually g
On 9-8-2011 16:39, Marco van de Voort wrote:
> In our previous episode, Jim said:
>> Firebird issue/feature request:
>> http://tracker.firebirdsql.org/browse/CORE-3571
>> FreePascal issue/feature request:
>> http://bugs.freepascal.org/view.php?id=19946
>
> IMHO
On 27-7-2011 9:10, Jim wrote:
> Hi FreePascal and Firebird people,
> (Cross-posted to the FPC and Firebird Development mailing lists)
>
> 1. Background
> =
> For the upcoming Firebird 3.0 database server release, developers are
> working on allowing external lan
Hi FreePascal and Firebird people,
(Cross-posted to the FPC and Firebird Development mailing lists)
1. Background
=
For the upcoming Firebird 3.0 database server release, developers are
working on allowing external languages (at first Java) for writing
stored procedures and functions.
Hi all,
A gentle request - if people are looking at the issue already, consider
this message as not sent.
I've looked at issue 0017664 (fbembed.dll library not loaded as part of
initialisation of firebird).
The fbembed library works as an embedded database, but also has the
regular client/server
On 20-12-2010 18:23, Jim wrote:
> (Posted to Firebird-dev list, copied to freepascal list for info)
>
> Hi all,
>
> Recently I mentioned a problem running FreePascal 64 bit code with
> Firebird 2.5 embedded 64 bit on Windows (Vista).
> All these cases seem to lead to access
(Posted to Firebird-dev list, copied to freepascal list for info)
Hi all,
Recently I mentioned a problem running FreePascal 64 bit code with
Firebird 2.5 embedded 64 bit on Windows (Vista).
Tried a later 2.5.1 snapshot, didn't work either.
It does work with a separate regular Firebird 2.x 64 bit
On 1-11-2010 12:18, Graeme Geldenhuys wrote:
> Hi,
>
> I need to write a data conversion app. Has anybody read MDB data under
> Linux yet, using SqlDB? I saw there was a ODBC database component, and
> searched by Ubuntu repository. I installed 'iodbc', 'libiodbc2' and
> 'libiodbc2-dev'. The 'iod
On 27-9-2010 13:30, Sven Barth wrote:
> Am 27.09.2010 10:38, schrieb Honza:
>> 2010/9/27 Jim:
>>> As TIfdTag seems to contain non-pointer records only, I thought I could
>>> use Sizeof and tried this:
>>> FillByte(tag, SizeOf(tag), 0); //initialize var.
>
Hi,
Fpc sometimes complains (hints) about local variables not being initialized.
My question: how do I initialize more complicated structures like
records? And should I need to (I'm guessing no in the example below, but
the contents of the record will be undefined - no problem as there are
no poin
Hi all,
Still wrestling with my locate clone at (download source+exe)
http://bitbucket.org/jb/flocate/get/tip.zip
I've hit some interesting behaviour: running 64 bit embedded Firebird
with 64 bit fpc lead to unhandled exceptions in the Firebird dll, see:
http://mantis.freepascal.org/view.php?id=1
On 1-8-2010 14:29, Marco van de Voort wrote:
> In our previous episode, Marco van de Voort said:
>>
>> Call inherited create(true) in your constructor instead of just create().
>
> Hmm no, that is not it either, since the constructor is overloaded. Then a
> small example program to test is really
Hi all,
Still working on my file indexer:
http://bitbucket.org/jb/flocate/changeset/6c6fa90e632e
Each search for files creates a TObjectList descendant
(TDirectoryEntryList, see directoryentrylist.pp)
On finding a file, the search class createa a DirectoryEntry object with
the relevant file prop
Hi all,
Still getting Firebird embedded to workg correctly.
Seems like I get improper error messages...
I seem to have 32 bit working; now I'm testing 64 bit functionality:
Windows Vista
Free Pascal Compiler version 2.4.1 [2010/06/06] for x86_64
Firebird 2.1.3.18185
See
http://bitbucket.org/jb/f
> Sorry all:
>
> Solved: PEBKAC/PICNIC problem as usual.
>
> I assigned a variable that hadn't been initialised as a stringlist to
> the connection's Params property.
>
> On with the next problem...
>
> thanks,
> jb
>
Progress & help requested from the experts.
32 bit works, 64 bit doesn't:
On 16-6-2010 11:09, Jim wrote:
> I've uploaded it to:
> http://bitbucket.org/jb/flocate/issue/5/cant-get-embedded-firebird-to-work
> the latest attachment is
> fbembedtest16June_10.52.zip
>
> Possibly due to my newbie-ness, I can't get embedded Firebird to work;
>
On 6-6-2010 16:06, Michael Van Canneyt wrote:
>> (gdb) break fpc_raiseexception
>> Breakpoint 1 at 0x40a9c6
>> .. debug output
>> Breakpoint 1, 0x0040a9c6 in fpc_raiseexception ()
>> (gdb) backtrace
>> #0 0x0040a9c6 in fpc_raiseexception ()
>> #1 0x0043d284 in
>> IBCONNECTION_TIBCONNECTIO
On 6-6-2010 19:06, Jim wrote:
> On 6-6-2010 16:06, Michael Van Canneyt wrote:
>>
>>
>> On Sun, 6 Jun 2010, Jim wrote:
>>> (gdb) break fpc_raiseexception
>>> Breakpoint 1 at 0x40a9c6
>>> .. debug output
>>> Breakpoint 1, 0x004
On 6-6-2010 16:06, Michael Van Canneyt wrote:
>
>
> On Sun, 6 Jun 2010, Jim wrote:
>> (gdb) break fpc_raiseexception
>> Breakpoint 1 at 0x40a9c6
>> .. debug output
>> Breakpoint 1, 0x0040a9c6 in fpc_raiseexception ()
>> (gdb) backtrace
>>
On 5-6-2010 10:47, Michael Van Canneyt wrote:
> It might be worth putting all parameters in a record definition and pass
> the
> record to your function. That makes the procedure declaration somewhat more
> manageable and understandable. (and definitely more efficent as well).
Progress!
As you su
On 6-6-2010 11:54, Michael Van Canneyt wrote:
> Maybe there is some special handling required for firebird exceptions,
> although that would surprise me. Normally I'd simply expect this to
> be a special error code, and the message of the exception as the error
> message...
>
> Michael.
Found a pd
On 6-6-2010 11:54, Michael Van Canneyt wrote:
> On Sun, 6 Jun 2010, Jim wrote:
>> On 5-6-2010 12:23, Michael Van Canneyt wrote:
>>> On Sat, 5 Jun 2010, Jim wrote:
>>>> On 5-6-2010 10:47, Michael Van Canneyt wrote:
>>>>> On Sat, 5 Jun 2010, Jim wrote:
On 5-6-2010 12:23, Michael Van Canneyt wrote:
> On Sat, 5 Jun 2010, Jim wrote:
>> On 5-6-2010 10:47, Michael Van Canneyt wrote:
>>> On Sat, 5 Jun 2010, Jim wrote:
>>
>> Program received signal SIGSEGV, Segmentation fault.
>> 0x0001ad7d in FINALIZE$_D
On 5-6-2010 10:47, Michael Van Canneyt wrote:
> On Sat, 5 Jun 2010, Jim wrote:
>> Finally, the question:
>> What I really want is to get a Firebird SQLCODE error code or some other
>> details that allow me to figure out whether one of my custom exceptions
>> get calle
On 5-6-2010 10:47, Michael Van Canneyt wrote:
> On Sat, 5 Jun 2010, Jim wrote:
>> Finally, the question:
>> What I really want is to get a Firebird SQLCODE error code or some other
>> details that allow me to figure out whether one of my custom exceptions
>> get calle
Hi all,
Still working on my locate clone at
http://bitbucket.org/jb/flocate/
- download at
http://bitbucket.org/jb/flocate/downloads
Running Free Pascal Compiler version 2.4.1 [2010/06/01] for x86_64 on
Windows.
I've cobbled together some Firebird database code.
If you want to have a more comple
On 31-3-2010 20:47, Flávio Etrusco wrote:
>> If you still want to use records, before the Dispose(APResultRecord)
>> set the ansistring fields to '', this will garantee that the reference
>> is freed.
>>
>>
> Or call Finalize() on them.
>
> Flávio
>
>
Dear José & Flávio,
Thanks for the tip
On 31-3-2010 20:47, Flávio Etrusco wrote:
>> If you still want to use records, before the Dispose(APResultRecord)
>> set the ansistring fields to '', this will garantee that the reference
>> is freed.
>>
>>
> Or call Finalize() on them.
>
> Flávio
>
Thanks José & Flávio,
Sounds like a good
Hi all,
I'm trying to learn FreePascal by writing a file indexer a la locate and
I'm hitting more walls after receiving quick and clear help from Michael
Van Canneyt regarding memory leaks.
In the last couple of hours I've seen memory leaks cropping up in the
main LPR file, invalid pointer probl
On 30-3-2010 9:28, Michael Van Canneyt wrote:
> After allocating an object which you will free in the same routine,
> you should ALWAYS put a try..finally statement, and free the object in
> the
> finally clause:
++ makes sense.
> After that, the error still happens, but at least there is no memor
Hi all,
Background: Hobby programmer; Microsoft Access VBA/Visual Basic 6/Visual
Basic.Net background.
I'm a FreePascal newbie but have fiddled with it some time ago. Was
looking into learning C++ but that seems too curly, so started again.
I've decided to write a file scanner program that indexes
pkzip changed the dates on the unzipped
files, and this was somehow screwing up FPC. Once I reset the dates on all
the files in the FPC directory to the same date the compiler returned with
-iD everything started working again!
So I think I'm all set. Thanks for the help...
Regards,
pas(56,1) Fatal: Can't find unit SYSWIN32
It seems to be looking in the correct spot now, and syswin32.ppw does
indeed exist in the \fpc\units\win32\rtl directory, but it's still giving
me the same error (and I'm assuming the message "PPU Loading" means it
found the uni
pening.
Okay, after this lng winded story the question is; what am I missing?
This is the EXACT same setup I've been using for a very long time, but for
some reason it's not working now. Does anyone have an idea of what's going
wrong here?
TIA...
Regards,
Jim Wilson
___
functions as "stdcall" (FPC 1.0.x just used "stdcall" by
default).
I'll make note of that.
I'm attaching corrected version of your program.
Thanks for that -- you were a big help!
Regards,
Jim Wilson
___
fpc-pascal maillist - [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
D := 'Unknown';
Profile.Name := 'Unknown';
end;
writeln ('GUID : ',Profile.GUID);
writeln ('Name : ',Profile.Name);
writeln ('Results: ',Results,' - ',GetLastError);
END.
Regards,
Jim Wilson
___
fpc-pascal maillist - [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
brutally slow.
I've always used blockread and blockwrite for such things. Seems to work
pretty fast.
Regards,
Jim
___
fpc-pascal maillist - [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
At 11:18 AM 3/27/2003, you wrote:
Sorry, I meant physical.
The Win32 API has a function called GlobalMemoryStatus that might give you
some of the info you're looking for, but obviously it's not cross-platform.
Don't know if that helps much
d in the
"author" list on the web site.
BTW, Michael, Peter and Pierre...where are your photos??
THANK YOU ALL for Free Pascal :)
I second this whole thing. You guys have really done an awful lot!
Regards,
Jim
___
fpc-pascal maillist -
79 matches
Mail list logo