[fpc-pascal] Convert to int64 note

2017-07-13 Thread james
le 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://list

Re: [fpc-pascal] Convert to int64 note

2017-07-14 Thread james
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 ___ fpc-

Re: [fpc-pascal] Convert to int64 note

2017-07-14 Thread james
;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 convert the &

Re: [fpc-pascal] Implementing AggPas with PtcGraph

2017-07-20 Thread james
, 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 ___ fpc-pascal maillist - fpc

[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'

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

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

2018-11-03 Thread James
in Writeln (TapFileName,' Not Found'); Readln; End; End Else Begin Writeln ('No File Name Specified'); Readln; End; End. James -Original Message- From: fpc-pascal On Behalf Of Tomas Hajny Sent: Fri

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

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-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 PM

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

2018-11-03 Thread James
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 uses message boxes for errors is below. James

[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-12 Thread James
; 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/2018 11:21 AM, James wrote: > This is very interesting, thank

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

2018-11-12 Thread James
@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 Save-as dia

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
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-04 Thread James
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 lStructSize: DWord

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

2018-11-04 Thread James
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/18 a les 23:04

[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

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 Well,

[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 line :(

[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?

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 ___

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 flor...@freepascal.org 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 so the arm-macosx cross

[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
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 f...@eircom.net To: FPC-Pascal users discussions fpc

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: Marco van de

[fpc-pascal] Printing of FPC program listing

2010-02-15 Thread James Gibbens
? 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
In our previous episode, James Gibbens said: Thank you for the answers and advice I have received. Three new issues if you good people don't mind. Operating system? 1. I want to print my program listing by using the print option in the File drop-down menu (Free Pascal IDE window). I click

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

2007-08-14 Thread James Smith
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.freepascal.org/mailman

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
. 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 into the trunk at some point. James

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ël. James

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 dougchamber...@earthlink.net wrote: Nino Luciani wrote: Hi guys, A quick introduction. I joined the FPC mailing lists yesterday. Hi, Nino!

[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 jonas.ma...@elis.ugent.be 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

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
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, please. thank you James

[fpc-pascal]Classes/Objects/Pointers

2003-02-09 Thread James Mills
. 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

[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]Question about fp

2003-02-25 Thread James Mills
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 Any ideas. Brent

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]Can I program a linux device driver with fpc?

2003-03-17 Thread James Mills
... I have tried but without success... Building a minimal RTL is not easy. cheers James Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

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

2003-03-21 Thread James Mills
routines will get in trouble. There is no way to know how deep the stack can be nested, so you cannot foresee this. Putting a limit on that is out of the question. Agreed. If you put a limit on that, you will disallow algorithms that use resursive loops. There are many that do ... cheers James

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

2003-03-24 Thread James Mills
, 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 cents... James ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo

Re: [fpc-pascal]Lazarus +FPC

2003-03-28 Thread James Mills
compiler for it ? cheers James ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org

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 drawthings;

[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

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 be ? cheers James

Re: [fpc-pascal]TCollection question

2003-07-06 Thread James Mills
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 maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]TCollection question

2003-07-06 Thread James Mills
both read your replies and the webpage about TList I shall extend it :) That'll probably be the best option. Right ? Thanks for your prompt help, I dunno why I'm coding at 0140 in the bloody morning but anyway :) cheers James - you yourself have to make sure that elements are properly freed

Re: [fpc-pascal]TCollection question

2003-07-06 Thread James Mills
Actually Michael, Could you possibly spare 5 mins and give a really simple example of a TList descandent ? I'm a tad confused here, (too slowly getting anywhere)... Thank you :) cheers James ___ fpc-pascal maillist - [EMAIL PROTECTED] http

Re: [fpc-pascal]TCollection question

2003-07-06 Thread James Mills
List ? The way you use TList is as a private variable in a generic class. cheers James TMyListItemClass = class; {your class to store} TMyList = class private FList: TList; protected procedure SetItem( Index: integer; Value: TMyListItemClass); function GetItem(Index: integer

[fpc-pascal]FPC Debugging (with SQLite)

2003-07-07 Thread James Mills
numbers ? (I think perhaps the SQLite library is interferring with the debug symbols in the program? I'm not sure). Any ideas ? cheers James -- - - James Mills Zero Defect Software Engineers Group - ZDSEG ___ fpc-pascal maillist - [EMAIL PROTECTED

Re: [fpc-pascal]FPC Debugging (with SQLite)

2003-07-07 Thread James Mills
, and the only modification to the unit necessary (I think) is that you have to use the cMem unit. It works quite well and I'll continue to use this for my programs that require an embedded database vs. mysql server. cheers James Matt Hi, I have a problem with the SQLite library

Re: [fpc-pascal]FPC Debugging (with SQLite)

2003-07-07 Thread James Mills
On Mon, Jul 07, 2003 at 03:26:41PM +0100, Matt Emson wrote: How so ? James, he did *not* port this app to BeOS, some one else did. He wrote a Pascal interface to the version that that developer had ported to BeOS (you're following me right ;-). He therefore had no option but to use

Re: [fpc-pascal]New to the list/question

2003-07-09 Thread James Mills
James Kevin On Wed, 9 Jul 2003, Alan Mead wrote: Kevin, Welcome! What do you mean by a text-based interface? -Alan --- Kevin Monceaux [EMAIL PROTECTED] wrote: Pascal enthusiasts, I'm new to the list and just wanted to introduce myself. I got my first tast

Re: [fpc-pascal]Strange Segfault...

2003-07-10 Thread James Mills
; Can't you do this ? If not how else can I rewrite this function ? cheers James ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal -- - - James Mills Zero Defect Software Engineers Group - ZDSEG

[fpc-pascal]SQLite and NULL Strings...

2003-07-14 Thread James Mills
, myself and Eric Jourde (possibly ported from tsqlite I hear) cheers James -- - - James Mills Zero Defect Software Engineers Group - ZDSEG program test2; uses cmem, sqlite,sqlitedb, strings,classes; var MySQL: TSQLite; SQL: String; i,j : Integer; a : TStringList; begin Writeln('Creating

Re: [fpc-pascal]SQLite and NULL Strings...

2003-07-14 Thread James Mills
On Mon, Jul 14, 2003 at 02:26:28PM +0200, Michael Van Canneyt wrote: On Mon, 14 Jul 2003, James Mills wrote: On Mon, Jul 14, 2003 at 09:59:17AM +0200, Michael Van Canneyt wrote: On Mon, 14 Jul 2003, James Mills wrote: Hi, This is a very weird behaviour I've found

Re: [fpc-pascal]SQLite and NULL Strings...

2003-07-14 Thread James Mills
On Mon, Jul 14, 2003 at 09:59:17AM +0200, Michael Van Canneyt wrote: On Mon, 14 Jul 2003, James Mills wrote: Hi, This is a very weird behaviour I've found of either SQLite, or the Unit. I'm not sure... I have been discussing this same problem on the SQLite mailing list but without

Re: [fpc-pascal]SQLite and NULL Strings...

2003-07-14 Thread James Mills
On Mon, Jul 14, 2003 at 03:39:36PM +0200, Michael Van Canneyt wrote: On Mon, 14 Jul 2003, James Mills wrote: On Mon, Jul 14, 2003 at 09:59:17AM +0200, Michael Van Canneyt wrote: On Mon, 14 Jul 2003, James Mills wrote: Hi, This is a very weird behaviour I've found

Re: [fpc-pascal]Strange Segfault...

2003-07-14 Thread James Mills
or less. Should I just avoid using longer strings or is there a compiler switch I have to include? Or is there a tutorial on FPC strings (I never used Delphi much)? Or is this behavior fixed in 1.0.10? I believe there is a compiler switch. cheers James -Alan --- Matt Emson [EMAIL PROTECTED

Re: [fpc-pascal]SQLite and NULL Strings...

2003-07-14 Thread James Mills
On Mon, Jul 14, 2003 at 03:06:44PM +0200, Michael Van Canneyt wrote: On Mon, 14 Jul 2003, James Mills wrote: On Mon, Jul 14, 2003 at 02:26:28PM +0200, Michael Van Canneyt wrote: On Mon, 14 Jul 2003, James Mills wrote: On Mon, Jul 14, 2003 at 09:59:17AM +0200, Michael Van

Re: [fpc-pascal]SQLite and NULL Strings...

2003-07-15 Thread James Mills
On Tue, Jul 15, 2003 at 07:04:05AM -0700, Alan Mead wrote: --- James Mills [EMAIL PROTECTED] wrote: On Tue, Jul 15, 2003 at 04:36:24AM -0700, Alan Mead wrote: --- James Mills [EMAIL PROTECTED] wrote: Just reconfirming with you and solidifying my knowledge. The reason

Re: [fpc-pascal]SQLite and NULL Strings...

2003-07-15 Thread James Mills
On Tue, Jul 15, 2003 at 05:27:42PM +0200, Michael Van Canneyt wrote: On Wed, 16 Jul 2003, James Mills wrote: On Tue, Jul 15, 2003 at 07:04:05AM -0700, Alan Mead wrote: --- James Mills [EMAIL PROTECTED] wrote: On Tue, Jul 15, 2003 at 04:36:24AM -0700, Alan Mead wrote

Re: [fpc-pascal]SQLite and NULL Strings...

2003-07-15 Thread James Mills
On Tue, Jul 15, 2003 at 08:35:44AM -0700, Alan Mead wrote: --- James Mills [EMAIL PROTECTED] wrote: My program relies on the fact that some fields (which are string types) are null. I'm not sure what to say next so I'll leave it at that :P If your database never contains an empty

Re: [fpc-pascal]SQLite and NULL Strings...

2003-07-15 Thread James Mills
On Tue, Jul 15, 2003 at 08:53:12AM -0700, Alan Mead wrote: --- James Mills [EMAIL PROTECTED] wrote: On Tue, Jul 15, 2003 at 08:35:44AM -0700, Alan Mead wrote: --- James Mills [EMAIL PROTECTED] wrote: My program relies on the fact that some fields (which are string types

Re: [fpc-pascal]Synapse for FPC

2003-07-22 Thread James Mills
world. ;-) You've convinced me :) Thanks for creating this suite... cheers James -- Lukas Gebauer. E-mail: [EMAIL PROTECTED] WEB: http://www.ararat.cz/synapse - Synapse Delphi and Kylix TCP/IP Library ___ fpc-pascal maillist - [EMAIL

Re: [fpc-pascal]Synapse for FPC

2003-07-22 Thread James Mills
nice old language! cheers James Michael. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal -- - - James Mills Zero Defect Software Engineers Group - ZDSEG

[fpc-pascal]XChat plugins using FPC

2003-07-22 Thread James Mills
direction... cheers 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]XChat plugins using FPC

2003-07-25 Thread James Mills
though I think I'll end up writing a unit interface to the c functions though. I don't want to end up writing plugins and having to remember every bloody xchat interface command :) do you ? cheers James Holger James Mills schrieb: Hi, I can successully compile and test the plugin

Re: [fpc-pascal]A suggestion.

2003-07-25 Thread James Mills
support for this (using the html documentation). I use to use borland's turbo pascal ide once too, but I don't miss this feature :) Nowadays vim suits be better cheers James Jonas ___ fpc-pascal maillist - [EMAIL PROTECTED] http

Re: [fpc-pascal]runtime 201 with swapword function

2003-07-25 Thread James Mills
On Fri, Jul 25, 2003 at 04:21:36PM +0200, Jonas Maebe wrote: On vrijdag, jul 25, 2003, at 16:22 Europe/Brussels, James Mills wrote: Why does the following result in a runtime error ? program example; const THE_PORT = ; function swapWord(w: Word): Word; begin

Re: [fpc-pascal]runtime 201 with swapword function

2003-07-25 Thread James Mills
On Fri, Jul 25, 2003 at 04:30:35PM +0200, Florian Klaempfl wrote: James Mills wrote: On Fri, Jul 25, 2003 at 04:21:36PM +0200, Jonas Maebe wrote: On vrijdag, jul 25, 2003, at 16:22 Europe/Brussels, James Mills wrote: Why does the following result in a runtime error ? program example

Re: [fpc-pascal]How to use Linux libraries?

2003-07-25 Thread James Mills
On Fri, Jul 25, 2003 at 06:18:48PM +0200, Rainer Hantsch wrote: Hello, James! On Sat, 26 Jul 2003, James Mills wrote: | I could write you up a set of such procedures or classes to do this, | however I'm starting back at uni. New semester :) Good success at Uni! What are you studying

Re: [fpc-pascal]runtime 201 with swapword function

2003-07-25 Thread James Mills
:= $9988; writeln( IntToHex(i, 4) ); //output '9988' j := swap( i ); writeln( IntToHex(j, 4)); //output '8899' readln; end. No need to go to the trouble of writing your won routine!! ;-) I didn't write it, one of the FPC developers did last year in the mailing list :) cheers James

[fpc-pascal]Cross-Compiling

2003-08-01 Thread James Mills
Hi, How are you guys goins with crosscompiling ? I'd like to be able to cross compile from Debian/Linux to various other platforms... Or have you been crosscompiling the other way ? Anyone attempted to write a howto/tutorial yet ? cheers James -- - -Zero Defect Software Engineers Group

Re: [fpc-pascal]Cross-Compiling

2003-08-02 Thread James Mills
On Fri, Aug 01, 2003 at 10:45:00PM +0300, Nikolay Nikolov wrote: James Mills wrote: How are you guys goins with crosscompiling ? I'd like to be able to cross compile from Debian/Linux to various other platforms... Or have you been crosscompiling the other way ? First of all, you need

Re: [fpc-pascal]Direct writes to console buffer

2003-08-03 Thread James Mills
than trying to directly access video RAM. And to makes things easier for you, once you learn to use SDL, you could write a wrapper module so you don't have to even rewrite your old programs :) cheers James - L D Blake ___ fpc-pascal maillist

Re: [fpc-pascal]Direct writes to console buffer

2003-08-03 Thread James Mills
On Sun, Aug 03, 2003 at 07:26:35AM -0700, Rich Pasco wrote: James Mills wrote: In addition, I suggest using SDL which will work for windows. SDL is probably a much better approach than trying to directly access video RAM. And to makes things easier for you, once you learn to use SDL, you

Re: [fpc-pascal]Error 216 with SDL

2003-08-04 Thread James Mills
. cheers James Holger ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal -- - -Zero Defect Software Engineers Group - ZDSEG - -You need only two tools. WD-40 and duct tape. -If it doesn't

Re: [fpc-pascal]Error 216 with SDL

2003-08-04 Thread James Mills
possible solutions: a) install the same version of SDL on your system as what you were using before b) translate the SDL headers of the new version to Pascal (or bug someone else to do it :) Thanks Jonas :) I was clueless :P James Jonas

Re: [fpc-pascal]SQLITE with FPC

2003-08-14 Thread James Mills
haven't yet... There are some around on torry.net but they're for delphi using windows. I've asked the author if he could convert it to FPC for linux but without much luck atm. I say this because you're going to run into pascal string problems like I have. cheers James

Re: [fpc-pascal]what Programming Environment : Editor Debugger

2003-08-14 Thread James Mills
that'll you find as well which you can use. It's similar in many ways to Delphi and can be used for all your development and gui needs (though I have not used it yet). As far as a debugger goes, simply use gdb. cheers James many thanks, Stefan Becker

[fpc-pascal]Debuggin

2003-08-20 Thread James Mills
to be shown, the above example does not show these. cheers James -- - -Zero Defect Software Engineers Group - ZDSEG - -You need only two tools. WD-40 and duct tape. -If it doesn't move and it should, use WD-40. -If it moves and shouldn't, use the tape

[fpc-pascal]Debugging FPC

2003-08-21 Thread James Mills
(-1) 0x080A33B1 2) With compile modes: -gg -gl Aren't line info and tracebacks suppose to be shown, the above example does not show these. cheers James -- - -Zero Defect Software Engineers Group - ZDSEG - -You need only two tools. WD-40 and duct tape. -If it doesn't move and it should, use

Re: [fpc-pascal]RE: Debugging FPC

2003-08-22 Thread James Mills
the line number info ? cheers James __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ___ fpc-pascal maillist - [EMAIL PROTECTED] http

Re: [fpc-pascal]Debugging FPC

2003-08-22 Thread James Mills
On Fri, Aug 22, 2003 at 11:08:14AM +1000, James Mills wrote: I think perhaps I need to repost my question as I saw the mailing list server go down yesterday... Hi, 1) Is there anyway of finding out the cooresponding source line when a program crashes and only outputs the following

Re: [fpc-pascal]Debugging FPC

2003-08-22 Thread James Mills
On Fri, Aug 22, 2003 at 09:30:49AM +0200, [EMAIL PROTECTED] wrote: On Fri, 22 Aug 2003, James Mills wrote: An unhandled exception occurred at 0x080A33B1 : List index exceeds bounds (-1) 0x080A33B1 Also anyone out there, I'd really like to know if the above is possible ... I

Re: [fpc-pascal]Debugging FPC

2003-08-22 Thread James Mills
On Fri, Aug 22, 2003 at 10:35:15AM +0200, [EMAIL PROTECTED] wrote: gdbpas is included with fpc (all versions). gdb = GNU DeBugger. The pas stands for with pascal extensions. I do not seem to have this anywhere on my system. Of course I have gdb. Can I get it somewhere ? (Perhaps the Debian

Re: [fpc-pascal]Debugging FPC

2003-08-22 Thread James Mills
... cheers James -- - -Zero Defect Software Engineers Group - ZDSEG - -You need only two tools. WD-40 and duct tape. -If it doesn't move and it should, use WD-40. -If it moves and shouldn't, use the tape. ___ fpc-pascal maillist - [EMAIL PROTECTED

Re: [fpc-pascal]TStringList.indexOf (case-sensitivity)

2003-08-28 Thread James Mills
On Wed, Aug 27, 2003 at 03:03:31PM +0200, Michael Van Canneyt wrote: On Wed, 27 Aug 2003, James Mills wrote: On Wed, Aug 27, 2003 at 09:39:10AM +0200, Michael Van Canneyt wrote: On Wed, 27 Aug 2003, James Mills wrote: Hi, Is TStringList.indexOf case sensitive

Re: [fpc-pascal]Lazarus

2003-08-28 Thread James Mills
. What'd the hacker do anyhow ? And how the heck does a hacker break into a *nix box ? (I assume it is...) cheers James -- - -Zero Defect Software Engineers Group - ZDSEG - -You need only two tools. WD-40 and duct tape. -If it doesn't move and it should, use WD-40. -If it moves and shouldn't, use

Re: [fpc-pascal]Read from command line

2003-09-07 Thread James Mills
: paramCount (returns the number of parameters passed to the program) paramStr(i) (returns the i'th parameter) cheers James -- - -Zero Defect Software Engineers Group - ZDSEG - -You need only two tools. WD-40 and duct tape. -If it doesn't move and it should, use WD-40. -If it moves

[fpc-pascal]SDL Library

2003-09-07 Thread James Mills
Hi, What's the reccomended SDL library to use with FPC ? With FPC 1.0.6 I used to use SDL4Freepascal-1.2.0.0.tar.gz by Daniel F Moisset ... Are there any further updates to SDL for use with FPC ? I found Daniel's port of the SDL library very easy to use. cheers James -- - -Zero Defect

[fpc-pascal]cgiapp.pp and ezcgi.pp possible bug

2003-09-07 Thread James Mills
Hi, I think there might be a possible bug in both ezcgi.pp and cgiapp.pp If you try and post a piece of form data: ie: textarea /textarea it will hang in an infinite loop. I'm not sure where the problem is, debugging cgi apps is hard ;) cheers James -- - -Zero Defect Software Engineers

Re: [fpc-pascal]make files

2003-09-08 Thread James Mills
On Sun, Sep 07, 2003 at 04:30:39PM -0400, Frank W McCormick wrote: Hi all Can someone give me a simple example of a makefile suitable for just simple compiling of one file ? I am so used to running FPC from the command line that make is foreign to me. Catch! cheers James -- - -Zero

[fpc-pascal]CGI: cgiapp.pp and ezcgi.pp possible bug

2003-09-12 Thread James Mills
/textarea it will hang in an infinite loop. I'm not sure where the problem is, debugging cgi apps is hard ;) cheers James -- - -Zero Defect Software Engineers Group - ZDSEG - -You need only two tools. WD-40 and duct tape. -If it doesn't move and it should, use WD-40. -If it moves and shouldn't

  1   2   3   4   5   6   7   8   >