[fpc-pascal] Convert to int64 note

2017-07-13 Thread james
example is from: Last_GS:=G_End-(Max_Program_To_Display-1); Can someone please explain that this hint means and how I would convert the operands to "Int64" as recommended? James ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http:/

Re: [fpc-pascal] Convert to int64 note

2017-07-14 Thread james
uot;Int64" before doing > the subtract could prevent overflow errors. > > I get it a lot, but this is the line the above example is from: > > Last_GS:=G_End-(Max_Program_To_Display-1); > > Can someone please explain that this hint means and how I would conv

Re: [fpc-pascal] Convert to int64 note

2017-07-14 Thread james
suppose it would take longer to process all formulas with int64 and double variables compared to using smaller variables, but then again processor speed is also very fast now, so should I even be bothered with it? I'm curious what the general method is now? James __

Re: [fpc-pascal] Implementing AggPas with PtcGraph

2017-07-20 Thread james
rtion of the screen, copy the image variable, draw the object in the copy, putimage() the copy to show the object, then when it's time to move it, putimage() the original back, then start the process over again in the next location. James ___ fp

[fpc-pascal] Very slow startup of Frepascal programs on just one system

2018-08-22 Thread James
I am experiencing very slow startup of all of my freepascal programs for windows on just one computer. Normally they all start pretty much instantly, but I just got a brand new Dell XPS desktop computer and they are all starting up VERY slowly, even simple console programs.. Even 'Hello World' t

Re: [fpc-pascal] Very slow startup of Frepascal programs on just one system

2018-08-22 Thread James
>Does the same happen for GUI programs compiled with FPC on that machine? I don't have any FPC GUI programs, they are all console programs, some console with ptcgraph >As a test try to disable your anti virus and/or Windows Defender. >Pretty much only security software/anti virus. Yes that

[fpc-pascal] Windows programming tutorials for FPC

2018-11-02 Thread James
I've been programming for decades with Pascal, starting with Turbo Pascal, and for a few years now with Freepascal, and even wrote really complicated console windows programs with Freepascal that do windows function calls... But now I find that I would like to write a few windows GUI programs,

Re: [fpc-pascal] Windows programming tutorials for FPC

2018-11-03 Thread James
der.Free; TapFileJobsList.Free; TapFileRemainder.Free; End Else Begin Writeln (TapFileName,' Not Found'); Readln; End; End Else Begin Writeln ('No

Re: [fpc-pascal] Windows programming tutorials for FPC

2018-11-03 Thread James
cess to it on my own, but I just can't recall now what function that was, or what program I was working on that needed it, or how it was accomplished. Perhaps it is in the windows unit, or another unit, but I'm just not calling it correctly. Current version of my program that

Re: [fpc-pascal] Windows programming tutorials for FPC

2018-11-03 Thread James
>And you can't just pop up a dialog window without having a window/form in the >first place. That’s probably my problem… My idea of just calling up the windows-API to get the save-as dialog probably won’t work without a form, even though I was able to get message boxes working >In general,

Re: [fpc-pascal] Windows programming tutorials for FPC

2018-11-03 Thread James
my console application. I'm doing: Var TapFileName : AnsiString; TapFile : Text; Assign(TapFile,TapFileName); Any ideas why this works in FPC but not in Lazarus? James -Original Message- From: fpc-pascal On Behalf Of Luca Olivetti Sent: Saturday, November 3, 2018 4:47

Re: [fpc-pascal] Windows programming tutorials for FPC

2018-11-03 Thread James
It’s not a snippet, that’s the entire thing. It’s pretty simple, just a sequential set of events to fix a file. It would be a great help if you could get me an example of how to make this work. James From: fpc-pascal On Behalf Of Ralf Quint Sent: Saturday, November 3, 2018 5:57 PM

Re: [fpc-pascal] Windows programming tutorials for FPC

2018-11-04 Thread James
iteln's, I just get an exit code = 1 James Program TestGetSaveFileNameA; Uses CRT,Classes,Sysutils,windows; Type TOpenFileNameAHookProc = function(Wnd: HWND; Msg: UINT; wParam: WPARAM; lParam: LPARAM): UINT stdcall; TOpenFileNameA = Packed Record lSt

Re: [fpc-pascal] Windows programming tutorials for FPC

2018-11-04 Thread James
don't know where I would move it to. Any suggestions? James Richters -Original Message- From: fpc-pascal On Behalf Of Luca Olivetti Sent: Saturday, November 3, 2018 6:15 PM To: fpc-pascal@lists.freepascal.org Subject: Re: [fpc-pascal] Windows programming tutorials for FPC El 3/11

Re: [fpc-pascal] Windows programming tutorials for FPC

2018-11-04 Thread James
Thank you for this example! It works perfectly and I now have my console program putting up message boxes and opening a Save-As box as needed. James -Original Message- From: fpc-pascal On Behalf Of Alexander Grotewohl Sent: Sunday, November 4, 2018 11:48 AM To: fpc-pascal

Re: [fpc-pascal] Windows programming tutorials for FPC

2018-11-04 Thread James
and things like that... and at the same time I am thrilled to have such capability in my console applications! James ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Windows programming tutorials for FPC

2018-11-12 Thread James
7;*.txt'+#0; TFileName.nMaxFile:=100; TFileName.Flags := OFN_EXPLORER or OFN_FILEMUSTEXIST or OFN_HIDEREADONLY; TFileName.lpstrDefExt:='txt'; Writeln(GetSaveFileNameA(@TFilename)); Writeln('Finished with '+strpas(TFileName.lpstrFile)); Readln; End. On 11/4/

Re: [fpc-pascal] Windows programming tutorials for FPC

2018-11-12 Thread James
ascal@lists.freepascal.org Subject: Re: [fpc-pascal] Windows programming tutorials for FPC This line: Writeln(GetSaveFileNameA(@TFilename)); What does it write when you select a file vs when you click x/cancel? :-):-) On 11/12/2018 4:31 AM, James wrote: > I've been using the example below to use the S

Re: [fpc-pascal] Greetings

2009-04-27 Thread Lou James
I am new here too,I've been using free pascal since a year and a half ago.And I'm wondering what I can contribute? On 27/04/2009, Doug Chamberlin wrote: > Nino Luciani wrote: >> Hi guys, >> >> A quick introduction. I joined the FPC mailing lists yesterday. > > Hi, Nino! Welcome! > > Are you new t

[fpc-pascal] -Opentium3 Error

2009-05-09 Thread Lou James
Hi, This is a problem troubles me for a long time.You should know I'm a student in high school and I use Free Pascal to solve some algorithm problem. Sometimes,when I set a new enviroment(school's computer always clean up after restart)--that is,to set the Properties of the shortcut "Start In :"

Re: [fpc-pascal] -Opentium3 Error

2009-05-09 Thread Lou James
Oh,it seems so I upgrade my fpc to 2.2.4 in the Ubuntu OS,but forgot windows. By the way,Win7 RC is great. 2009/5/9 Jonas Maebe > > On 09 May 2009, at 14:44, Lou James wrote: > > Then,open the shortcut and type in my code.Then, when I try to compile >> it,it may popup a er

[fpc-pascal] Question about fcl-image package

2009-07-28 Thread James Buren
I've looked through the source of this thing and the means it has for scaling an image does not appear to be anti-aliased as I would require for my usage which is for icon scaling to a consistent dimension. From what I can tell, a C library called Imlib2 appears to provide what I need, but fcl-imag

Re: [fpc-pascal] C-->Pas translation question

2009-09-08 Thread James Buren
> how to translate following C code to pascal? > > enum{IUP_SHOW, IUP_RESTORE, IUP_MINIMIZE, IUP_MAXIMIZE, IUP_HIDE}; > > thanks > ___ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > W

[fpc-pascal] Questions

2009-09-22 Thread James Buren
I have some questions about the RTL and FPC and how it effects what license I can use for my source. 1) Does FPC impose any license restrictions for the programs I compile with it? 2) Does the RTL impose a license restriction if all I do is link my program to it? 3) Any thing else I should know

Re: [fpc-pascal] Video4Linux access

2009-10-15 Thread James Buren
> Hi Everybody, > > I need video4linux support for my new project. I tried vfp unit > I found in the contribute units website. > But it seems very outdated. Itried all things menitioned in the > forum, but I'm not able to get the things up. the code is hard > to read and I found not one comment li

[fpc-pascal] Streaming classes?

2009-10-19 Thread James Buren
I've encountered this mentioned several times in the documentation but I have no clue what its used for or why I would want to use it. Is it talking about reading and writing class information to file, memory, network streams? If not, then what is this?

[fpc-pascal] 'Uses' keyword

2009-10-25 Thread James Buren
Is there any way to get FPC to tell me what units get included when I include a unit? I'm asking because I'd like to know so I can find out what units I'm using and what licenses they use so I know what licenses I'm dealing with so I know how it will effect my program.

Re: [fpc-pascal] Free Pascal 2.4.0 released

2010-01-03 Thread Lou James
I still didn't find out where to get the 2.4.0 version for iphone.. Shouldn't it be under ARM/Mac OS X? -- 樓洵(AquarHEAD) -- Blossoms which were the joys that fell, And leaves, the hopes that yet remain. -- http://www.AquarHEAD.com ___ fp

Re: [fpc-pascal] Free Pascal 2.4.0 released

2010-01-03 Thread Lou James
Oh I see. Thanks && Happy New Year!~ 2010/1/3 Florian Klaempfl > Lou James schrieb: > > I still didn't find out where to get the 2.4.0 version for iphone.. > > Shouldn't it be under ARM/Mac OS X? > > No. The directories are named by host operating system s

[fpc-pascal] Cancelling Scientific notation

2010-01-25 Thread James Gibbens
change the background colour, a very black BLACK, when the program runs? It is strenuous on my poor eyes. Thank you so far. The rest of the problems can wait a couple of days. James Gibbens. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] Cancelling Scientific notation

2010-01-26 Thread James Gibbens
es - so if I am stupid, please say so. I am a retired MAths teacher and I want to make programs so that the learners(?) [earlier we called them pupils / students] can PRACTISE the Maths. Thanks again James - Original Message - From: "Frank Peelo" To: "FPC-Pascal users d

Re: [fpc-pascal] Cancelling Scientific notation

2010-02-05 Thread James Gibbens
enlarge it to show more lines? I tried clicking and ragging but nothing works. 3. I want to print the program listing. I click on Files, print and nothing happens. The device is shaown as lst or prn. How do I fix that? Thanks again. James Gibbens - Original Message - From: "Marc

[fpc-pascal] Printing of FPC program listing

2010-02-15 Thread James Gibbens
ction? The way they do it in Europe? Thank you for the answers. James Gibbens. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Printing of FPC program listing

2010-02-17 Thread James Gibbens
Thank you - will try My computer runs on Windows XP. - Original Message - From: "Marco van de Voort" To: "FPC-Pascal users discussions" Sent: Wednesday, February 17, 2010 11:32 AM Subject: Re: [fpc-pascal] Printing of FPC program listing In our previous episode

RE: Re: [fpc-pascal] Need three things

2007-08-14 Thread James Smith
where they stand if they ship a product with a buffer overflow, or a race condition, or just a default password" Competitive advantage to be exploited here. James ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepas

Re: [fpc-pascal] Competitive advantage in showing proof of correctness

2007-08-14 Thread James Smith
There's a company already doing that: http://www.praxis-his.com/sparkada/intro.asp I've read their book. Cool stuff. James ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Competitive advantage in showing proof of correctness

2007-08-14 Thread James Smith
es, but of due diligence. Once the bar is raised on what due diligence means for software developers, they'll accept it because they have to. Before completely dismissing this issue, I hope you guys will consider merging Tom's qualified work in

Re: [fpc-pascal] Competitive advantage in showing proof of correctness

2007-08-14 Thread James Smith
Of course it will be considered. I don't think we are there yet though. First, Tom needs to say he is ready for merging though. Second we need to do some peer review on the code. However, I don't think anyone in the team is again his work. Excellent, thanks Dani

[fpc-pascal]Dynamic Arrays (Pointers)

2003-01-24 Thread James Mills
delphi (windows), ie: new nick joins server, create new object respresenting that nick... Thank you James ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]FPC vs. GPC (was:FPC 1.0.6 and open arrays)

2003-01-28 Thread James Mills
only supported the 16-bit PC architecture. We need a pascal compiler to support 32bit. > FPC has this syntax: > const i: integer = 0; > But it's so very unlogical to use a "const" as variable. :-( > (GPC accepts this syntax, but gives a warning) What on earth would we

[fpc-pascal]1.0.6 problem

2003-02-03 Thread James Mills
uration, Len, Sigma, IntOf, FracOf, nPr, nCr, getPI, e, sine, cosine, tangent, arcsine, arctangent, Modulas, SqrRoot, RoundNumber, TruncateNumber, Radians, Degrees ); Could someone help me out here please, as it did compile with 1

Re: [fpc-pascal]1.0.6 problem

2003-02-03 Thread James Mills
On Mon, Feb 03, 2003 at 01:37:34PM +0100, Jonas Maebe wrote: > > On maandag, feb 3, 2003, at 13:24 Europe/Brussels, James Mills wrote: > > >I just recently upgraded to FPC 1.0.6 (Debian testing-SID), one of my > >programs now doesn't compile because of this error.

Re: [fpc-pascal]Performance testing of FPC programs?

2003-02-07 Thread James Mills
On Fri, Feb 07, 2003 at 04:56:10PM +0100, Preben Mikael Bohn wrote: > Hi all, I have a relatively large FPC program that I suspect have a few > bottlenecks (regarding processing speed). Are there any ways I can test how > long time the program spends in the different procedures/functions? Use this

[fpc-pascal]Pointer Help

2003-02-09 Thread James Mills
tions to create dynamic arrays of strings. The writeINI function reads the entire file in, but doesn't even do that correctly. I have a test program that uses the same idea, and it works perfectly, so I'm very bewildered :( attached is the code if someone would like to have a look at it,

Re: [fpc-pascal]Pointer Help

2003-02-09 Thread James Mills
On Sun, Feb 09, 2003 at 08:30:57PM +1000, James Mills wrote: > Hi all, > > Sorry if this is trivial, but I'm sick of it :) > I'm using fpc to convert my (originally delphi) code to read and write > ini style files, however writing will not work as I want, the data in &g

Re: [fpc-pascal]Pointer Help

2003-02-09 Thread James Mills
On Sun, Feb 09, 2003 at 02:22:55PM +0100, Anton Tichawa wrote: > Hello, James! > > I found an error at GetMem / ReAllocMem: Your code: > > getMem(tmpStrings, 100); > {reAllocMem(tmpStrings, (I + 1));} > > reserves 100 or (I + 1) BYTES, but you need space for 100 or

Re: [fpc-pascal]Pointer Help

2003-02-09 Thread James Mills
On Sun, Feb 09, 2003 at 02:22:55PM +0100, Anton Tichawa wrote: > Hello, James! > > I found an error at GetMem / ReAllocMem: Your code: > > getMem(tmpStrings, 100); > {reAllocMem(tmpStrings, (I + 1));} > > reserves 100 or (I + 1) BYTES, but you need space for 100 or

Re: [fpc-pascal]Pointer Help

2003-02-09 Thread James Mills
't you have to free that number of bytes using freeMem(pointer, n) ? cheers James Btw, I'm using short strings, so I think it'll be ok for now... > > Read the Manual - Free Pascal Programmer's Manual, Section 4.5, "Writing Your > Own Memory Manager" -

Re: [fpc-pascal]Pointer Help

2003-02-09 Thread James Mills
On Sun, Feb 09, 2003 at 03:42:29PM +0100, Anton Tichawa wrote: > Hi, > > > But getMem and reAllocMem allocate a number of bytes on the heap, > > wouldn't you have to free that number of bytes using freeMem(pointer, n) > > ? > > No, Free Pascal keeps track of the allocated size for a pointer creat

[fpc-pascal]Classes/Objects/Pointers

2003-02-09 Thread James Mills
e 50, I'm sure I can fix the others. Obviously trying to create arrays of type TNick on the fly, but am a little confused here... thanks for your help James ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]Classes/Objects/Pointers / Pointer Help

2003-02-10 Thread James Mills
st; end; PmyObject = ^TmyObject; procedure TmyObject.test; begin writeLn('test'); end; ... James > > *** > procedure Alice; > begin > Bob(Data); > end; > *** > > Questions: > > 1. is Data "empty", i. e. is the call to Bob parame

Re: [fpc-pascal]Classes/Objects/Pointers / Pointer Help

2003-02-10 Thread James Mills
On Mon, Feb 10, 2003 at 03:55:45PM +0100, Anton Tichawa wrote: > Hello, James! > > Personally, I would prefer an even simpler way - but that depends on the > future development and backwards compatibility of Free Pascal. Basically, the > first step towards objects is ENCAPSUL

Re: [fpc-pascal]Classes/Objects/Pointers / Pointer Help

2003-02-10 Thread James Mills
On Mon, Feb 10, 2003 at 01:10:41PM -, Matt D. Emson wrote: > James, > > One important question... If you are using Delphi source (as you implied > in the pointers thread), why use Turbo Pascal style objects in your > conversion? If you used classes, it would be much easier

[fpc-pascal]FPC Problem with reAllocMem...

2003-02-10 Thread James Mills
very much :) James $ gdb datatest gdb: Symbol `emacs_ctlx_keymap' has different size in shared object, consider re-linking GNU gdb 2002-04-01-cvs Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it an

Re: [fpc-pascal]FPC Problem with reAllocMem...

2003-02-10 Thread James Mills
Another interesting thing to note as well which I think is rather strange... if you change in datanicks.pas lien 65, reAllocMem(nicks, sizeOf(TNick) * nNicks); to getMem(nicks, sizeOf(TNick) * nNicks); It will crash the same way as before, but at the 5th call of addNick cheers James

Re: [fpc-pascal]Gratitude for FPC

2003-02-11 Thread James Mills
ou, Peter. > Thank you, Pierre. > > And thank you to anyone else who contributed but is not named in the > "author" list on the web site. > > BTW, Michael, Peter and Pierre...where are your photos?? > > THANK YOU ALL for Free Pascal :) > > Mark

[fpc-pascal]Classes and copying

2003-02-12 Thread James Mills
Hi all, With respect to classes (and perhaps also objects), how do you copy the contents of a class in memory (an object) to another? ie: var a: TClass; b: TClass; begin a := TClass.init; b := a; //This only copies the pointer and doesn't work ?? end. cheers

Re: [fpc-pascal]CompareStr

2003-02-12 Thread James Mills
t seems to do the test ok, and the result: 'hello' < 'hello-byte'. cheers James program compare; (* uses sysUtils; *) uses Strings; var (* str1: String; str2: String; *) str1: pChar; str2: pChar; r:Integer; begin str1 := 'hello

[fpc-pascal]FPC Error! :(

2003-02-13 Thread James Mills
Hi, What on earth does: schanserv.pas(715) Fatal: Internal error 55665566 mean ? cheers James ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]Line Continuation

2003-02-13 Thread James Mills
On Thu, Feb 13, 2003 at 08:39:27PM +0200, Haluk DUMAN wrote: Never post HTML to the list. Use PlainText. cheers James ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]FPC Error! :(

2003-02-14 Thread James Mills
nal error will come up. Which is undocumented. channelClass is only needed so that the compiler knows what .getNick is after channels[index].getNick(I) The compiler should probably say, '(x,x) Error: Identifier not found ?? hope this helps. cheers James > > -Original Message-

Re: [fpc-pascal]FPC Error! :(

2003-02-14 Thread James Mills
is also a test in the testsuite that fails with this error, > maybe it's the same problem. I know the exact cause of the error. Sending the sources won't help much, there are too many. Tell me what you need, I'll help fix this bug. cheers James > > Peter > > >

Re: [fpc-pascal]FPC Error! :(

2003-02-14 Thread James Mills
ls with this > >> error, > >> maybe it's the same problem. > > > > I know the exact cause of the error. Sending the sources won't help > > much, there are too many. Tell me what you need, I'll help fix this bug. > > I need sources that i can

Re: [fpc-pascal]reporting faults

2003-02-14 Thread James Mills
se (& fix if necessary) from the > developers. Just saying 'I found a fault' isn't very helpful! > > Regards john Hehe, thanks John. I'd just never seen a compiler internal error before :) James > > > > This e-mail and any attachment

Re: [fpc-pascal]use of c++ libraries

2003-02-19 Thread James Mills
ndards for > > name mangling in C++, which makes linking to it dependent on the C compiler > > version used to create the lib. > > So I guess there isn't something on CVS I could use? Convert the c++ source to pascal :) cheers James > > > > ___

[fpc-pascal]Window Maker and FPC

2003-02-23 Thread James Mills
Hi, Has anyone attempted writing an application for Window Maker ? More specifically, has anyone attempted to write a docked window maker applciation ? Just on the subject of gui applications, I take it most people use GTK and that it is the perfered gui framework to use ? cheers James

[fpc-pascal]memw

2003-02-23 Thread James Mills
for linux ? cheers James ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]Question about fp

2003-02-25 Thread James Mills
tes I.E the a with a dash above and the like. It does not > reconize keys F1 threw F4, yet the other F keys work??? Are you running it from the console or an xterm ? The xterm doesn't emulate it well aparently (I have tried). Try running it from the console. cheers James

[fpc-pascal]Slight problem

2003-03-01 Thread James Mills
efull. cheers James datanicks.tar.gz Description: Binary data

Re: [fpc-pascal]Slight problem

2003-03-01 Thread James Mills
Ignore this post. Indexing problem elsewhere in my code :( ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]BUSINESS RELATIONSHIP AND PARTNERSHIP

2003-03-15 Thread James Mills
Gawd almighty! I don't believe this idiot is still trying to post messages to this mailing list. *shakes head* James ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]BUSINESS RELATIONSHIP AND PARTNERSHIP

2003-03-15 Thread James Mills
mailing lists > and set all but one to "no mail", otherwise they'll have to live with > the occasional delay. Thank you Jonas :) hehe. James > > Thank you, spammers of the of the world. NOT! > > > Jonas > FPC list admin > > __

Re: [fpc-pascal]Can I program a linux device driver with fpc?

2003-03-17 Thread James Mills
one ? As I'd like to use the same technique to use FPC for OS Development work... I have tried but without success... Building a minimal RTL is not easy. cheers James > > Michael. > > ___ > fpc-pascal maillis

Re: [fpc-pascal]Constructor failing...

2003-03-21 Thread James Mills
> > > > > what do you think about that? > > > > > > It does not fix the problem, the frame is then still left on the stack. > > > > > > The allocation on the heap has already been changed to allocation on the > > > stack in 1.1, because

Re: [fpc-pascal]OT: An FPC program in LinuxFormat Magazine

2003-03-24 Thread James Mills
, a language for kids. I'm happy to read of such a post. Just as a matter of interest, pascal might be an old language, a strongly typed language, but it is certainly NOT dead and any of my software engineer lecturers will agree with it's use as a language for developing software. my 2 c

Re: [fpc-pascal]OT: An FPC program in LinuxFormat Magazine

2003-03-25 Thread James Mills
age, a language for kids. I'm happy to read of > > such a post. Just as a matter of interest, pascal might be an old > > language, a strongly typed language, but it is certainly NOT dead and > > any of my software engineer lecturers will agree with it's use as a > > l

Re: [fpc-pascal]Lazarus +FPC

2003-03-28 Thread James Mills
On Fri, Mar 28, 2003 at 02:52:31PM +0200, A.J. Venter wrote: > Hi, > How much compatibility is broken between fpc-1.0.6 and fpc-laz 1.0.7 ? Why can't Lazarus be run with just the normal FPC compiler anyway ? Why does it have to have a specially built compil

Re: [fpc-pascal]Lazarus +FPC

2003-03-28 Thread James Mills
normal FPC compilers without the additional need to download and install the a specially built compiler for it ? cheers James > > > > ___ > fpc-pascal maillist - [EMAIL PROTECTED] > http://lists.freepascal.org/mailman/lis

Re: [fpc-pascal]OpenGL/GLUT run time error when I whant compile this code

2003-04-04 Thread James Mills
On Sat, Apr 05, 2003 at 10:02:07AM +0800, Karim Forsthofer wrote: > Hello > I played around with the OpenGL unit, and I wrote some minimal OpenGL code to get a > window: > Here is the code: > > program glbasic; > > uses > gl, glut; > > const > width = 640; > height= 480; > > procedure

[fpc-pascal]CGI Programming

2003-06-07 Thread James Mills
ata to the cgi app. Anyone have any ideas of the best approach to this ? I could write my own class, but ezcgi probably already accomplishes most things anyway. cheers James ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.o

[fpc-pascal]Strange error with a simple class

2003-06-08 Thread James Mills
Hi, I get the following with a very simple class: Runtime error 216 at 0x0805A735 0x0805A735 0x080481FF TCONFIG__PRINT, line 29 of configclass.pas 0x0805BE35 main, line 29 of forum.pas 0x080480B0 Any ideas ? cheers James -- - - James Mills Zero Defect Software Engineers Group

[fpc-pascal]Strange error from a simple class

2003-06-08 Thread James Mills
Hi, I get this error from a very simple class: Runtime error 216 at 0x0805A735 0x0805A735 0x080481FF TCONFIG__PRINT, line 29 of configclass.pas 0x0805BE35 main, line 29 of forum.pas 0x080480B0 Any ideas ? cheers James unit configClass; interface type TConfig = class(TObject

Re: [fpc-pascal]Strange error from a simple class

2003-06-08 Thread James Mills
On Sun, Jun 08, 2003 at 04:43:21PM +0200, Michael Van Canneyt wrote: > > > On Sun, 8 Jun 2003, James Mills wrote: > > > Hi, > > > > I get this error from a very simple class: > > > > Runtime error 216 at 0x0805A735 > > 0x0805A735 > > 0

Re: [fpc-pascal]Strange error from a simple class

2003-06-08 Thread James Mills
On Mon, Jun 09, 2003 at 12:57:24AM +1000, James Mills wrote: > On Sun, Jun 08, 2003 at 04:43:21PM +0200, Michael Van Canneyt wrote: > > > > > > On Sun, 8 Jun 2003, James Mills wrote: > > > > > Hi, > > > > > > I get this error from a very sim

Re: [fpc-pascal]Strange error from a simple class

2003-06-08 Thread James Mills
On Sun, Jun 08, 2003 at 05:39:51PM +0200, Michael Van Canneyt wrote: > > > On Mon, 9 Jun 2003, James Mills wrote: > > > On Mon, Jun 09, 2003 at 12:57:24AM +1000, James Mills wrote: > > > On Sun, Jun 08, 2003 at 04:43:21PM +0200, Michael Van Canneyt wrote: > >

[fpc-pascal]ezCGI Source

2003-06-08 Thread James Mills
Hi, Where can I find the source for ezcgi ? Or must I download the entire fcl source (where is this also?) cheers James ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]CGI Programming

2003-06-09 Thread James Mills
) How is cgiapp better than ezcgi (just because it's more embedded into the FCL?) cheers James > > > > I suggest you download the latest FCL sources, or get the new release. > > > Is there a binding for FastCGI ?

Re: [fpc-pascal]CGI Programming

2003-06-09 Thread James Mills
On Mon, Jun 09, 2003 at 09:50:33PM +0200, Michael Van Canneyt wrote: > > > On Mon, 9 Jun 2003, James Mills wrote: > > > On Mon, Jun 09, 2003 at 06:10:25AM -0600, [EMAIL PROTECTED] wrote: > > > > > > > > > > > > > > ezcgi i

[fpc-pascal]Error compiling testdb.pp example (mysql)

2003-06-14 Thread James Mills
testdb.pas(84,3) Error: Error while linking Closing script ppas.sh What have I done wrong here ? ... Yes I have installed the appropiate libmysqlclient-dev (from debian). cheers James -- - - James Mills Zero Defect Software Engineers Group - ZDSEG ___

Re: [fpc-pascal]Error compiling testdb.pp example (mysql)

2003-06-14 Thread James Mills
On Sat, Jun 14, 2003 at 04:08:38PM +0200, [EMAIL PROTECTED] wrote: > > > On Sat, 14 Jun 2003, James Mills wrote: > > > $ fpc testdb > > Free Pascal Compiler version 1.0.6 [2002/08/10] for i386 > > Copyright (c) 1993-2002 by Florian Klaempfl > > Target OS: Lin

Re: [fpc-pascal]Error compiling testdb.pp example (mysql)

2003-06-14 Thread James Mills
On Sat, Jun 14, 2003 at 05:01:38PM +0200, [EMAIL PROTECTED] wrote: > > > On Sun, 15 Jun 2003, James Mills wrote: > > > On Sat, Jun 14, 2003 at 04:08:38PM +0200, [EMAIL PROTECTED] wrote: > > > > > > > > > On Sat, 14 Jun 2003, James Mills wrote: &

Re: [fpc-pascal]Error compiling testdb.pp example (mysql)

2003-06-14 Thread James Mills
On Sat, Jun 14, 2003 at 06:30:09PM +0200, [EMAIL PROTECTED] wrote: > > > On Sun, 15 Jun 2003, James Mills wrote: > > > On Sat, Jun 14, 2003 at 05:01:38PM +0200, [EMAIL PROTECTED] wrote: > > > > > > > > > On Sun, 15 Jun 2003, James Mills wrote: >

Re: [fpc-pascal]Error compiling testdb.pp example (mysql)

2003-06-15 Thread James Mills
On Sun, Jun 15, 2003 at 12:34:07PM +0200, [EMAIL PROTECTED] wrote: > > > On Sun, 15 Jun 2003, James Mills wrote: > > > On Sat, Jun 14, 2003 at 06:30:09PM +0200, [EMAIL PROTECTED] wrote: > > > > > > > > > On Sun, 15 Jun 2003, James Mills wrote: >

Re: [fpc-pascal](Auto) XML Record Loader - Exist?

2003-06-16 Thread James Mills
On Tue, Jun 17, 2003 at 12:13:53AM +0200, RRC2Soft wrote: > Hello all! > > I want to know if there's a tool that creates the OpenXML code needed > for loading and saving an entire record from/to XML automatically. What would the purpose of this b

Re: [fpc-pascal]SDL with FPC - possible?

2003-06-20 Thread James Mills
nder Linux also :) cheers James > > Please notice that libsdl is not ported completely. > > > Holger > > Marco van de Voort schrieb: > > >>Are there any libsdl units for FPC available? Sorry if > >>it's too trivial, or discussed in the near f

[fpc-pascal]SQLite and FPC

2003-06-25 Thread James Mills
n converted the headers for SQLite (2.8.3 I believe) to fpc, I'll include these as well as Eric Jourde's unit. I'd very much appriciate anyone's help with this, as I plan to use SQLite in my project as an embedded database system. cheers James -- - - James Mills Zero Defect Soft

Re: [fpc-pascal]SQLite and FPC

2003-06-25 Thread James Mills
On Wed, Jun 25, 2003 at 11:08:35AM +0200, Michael Van Canneyt wrote: > > > On Wed, 25 Jun 2003, James Mills wrote: > > > Hi all, > > > > I'm wondering if anyone would do me the favour of either writing a unit > > for sqlite (2.8.3) or fixing Eric Jour

[fpc-pascal]TCollection question

2003-07-06 Thread James Mills
heers James -- - - James Mills Zero Defect Software Engineers Group - ZDSEG ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]TCollection question

2003-07-06 Thread James Mills
cl source ? Also just for the record of knowing... I have attached datanicks.pas which hold a dynamic array of TNick ... Is this what TList already does (if so I'm wasting my time writing my own code...) ? cheers James > > ___ > fpc-pascal m

Re: [fpc-pascal]TCollection question

2003-07-06 Thread James Mills
mentation somewhere (and it will be in the next full > release), but I couldn't find a recent version so fast. > > So I put down a very old version (April 2002) on the web here: > > www.stack.nl/~marcov/fcl.pdf I think it's here also in html format: http://www.nl.freep

  1   2   3   4   5   6   7   8   9   >