[fpc-pascal] free vision questions

2005-11-23 Thread Tony Pelton
hi all, having a great time playing with free vision right now. a quick question ... can i get a hooked into the event loop thread for doing work ? said a different way ... based on my experience with other event driven GUI paradigms ... i'm assuming ... in the background, there is a thread o

Re: [fpc-pascal] Remote FreePascal compile service, feedback requested

2005-12-05 Thread Tony Pelton
On 12/5/05, Tom Verhoeff <[EMAIL PROTECTED]> wrote: > Why do this? Because that way people can use/try FreePascal without > installing anything. ah ... installing really isn't too complicated currently. download a tarball, expand it, and run the compiler ? i can't imagine having to fiddle arou

Re: [fpc-pascal] getting XML element's value using dom.pp unit

2005-12-07 Thread Tony Pelton
i'm going to speak out of turn here ... i've got a ton of XML experience ... on Java. I haven't used the Pascal DOM, but i'm guessing i know what the issue is, because it is a common point of confusion for people who don't know XML DOM frameworks well. i of course may end up being completely off

Re: [fpc-pascal] getting XML element's value using dom.pp unit

2005-12-10 Thread Tony Pelton
On 12/8/05, Bisma Jayadi <[EMAIL PROTECTED]> wrote: > > i think you are going to find that "my node value" is not the > > NodeValue() of , but is the NodeValue() of a _child_ of > > . > > Thanks Tony... using your information, I've found what the problem is. It's a > different way of understandi

Re: [fpc-pascal] LINKLIB on Cygwin

2005-12-19 Thread Tony Pelton
do you have the DLL's somewhere in your PATH so that the windows lib loader can find them at runtime ? e.g. PATH=c:\cygwin\lib ? Tony On 12/19/05, Alan Mead <[EMAIL PROTECTED]> wrote: > Jeff Pohlmeyer gave me a short program demonstrating the use of the readline > and history libraries, the pro

[fpc-pascal] sax.pp

2005-12-27 Thread Tony Pelton
hi all, i'm a pascal noob, but not a new programmer. i've done a fair bit of XML parser work in Java. i was trying to figure out how to do parsing with SAX in pascal last night. i'm very confused. in java there are basically three steps to doing SAX parsing : 1) subclass a "handler" and overr

Re: [fpc-pascal] sax.pp

2005-12-27 Thread Tony Pelton
On 12/27/05, L505 <[EMAIL PROTECTED]> wrote: > > Would need to see some sample code that is giving you the abstract error, > though. I > just finished dealing with an "abstract error" and all I did was forget to > place the > override keyword after the function declaration in the *derivative* cla

Re: [fpc-pascal] sax.pp

2005-12-27 Thread Tony Pelton
On 12/27/05, Sebastian Günther <[EMAIL PROTECTED]> wrote: > Tony Pelton schrieb: > > hi all, > > > > i'm a pascal noob, but not a new programmer. > > > > i've done a fair bit of XML parser work in Java. > > > > i was trying to figure out

Re: [fpc-pascal] Compiling library / Win32 DLL

2005-12-29 Thread Tony Pelton
you are using FP or its IDE and _not_ lazarus ... right ? i had some troubles with building a DLL with lazarus, where identical code would build link under lazarus, and my windows application wouldn't load it, and everything would work fine when i built it using the FP compiler standalone. likely

Re: [fpc-pascal] Compiling library / Win32 DLL

2005-12-29 Thread Tony Pelton
On 12/29/05, chromdildo <[EMAIL PROTECTED]> wrote: > Thanks for your reply. > > Whats the difference, when compiling without Lazarus? i don't know. i just wanted to mention it, in case it was relevant. i had started doing development using the FP console IDE. i then "discovered" Lazarus, and wa

Re: [fpc-pascal] Quake 2 for Freepascal

2005-12-29 Thread Tony Pelton
On 12/29/05, L505 <[EMAIL PROTECTED]> wrote: > If anyone is interested I can post the Quake 2 freepascal port up online. i'm interested in looking at the code from an academic perspective. please do post. i could even help mirror it if need be. Tony _

[fpc-pascal] XML DOM stuff

2005-12-31 Thread Tony Pelton
hi all, i've been toiling over the DOM implementation with the FCL for a few hours now. i had successfully used the XMLRead code to load a DOM from an XML file. i had successfully mutated said document and used XMLWrite to persist those changes to the DOM. i've now been beating my head against

[fpc-pascal] source file size ?

2006-01-04 Thread Tony Pelton
hi all, i wanted to ask a question, before i spend time going down a road to implement it. are there any know limits on how big a source file can be for the FPC compiler ? i was thinking about experimenting with "code generating" a source file that would become a memory resident database of sort

Re: [fpc-pascal] source file size ?

2006-01-04 Thread Tony Pelton
On 1/5/06, L505 <[EMAIL PROTECTED]> wrote: > > > are there any know limits on how big a source file can be for the FPC > > compiler ? > > interesting question... hmm did you try a 3GB file which calls > writeln('test') over > and over and over again? > That's the stupid way of doing tests - the

Re: [fpc-pascal] source file size ?

2006-01-05 Thread Tony Pelton
On 1/5/06, Florian Klaempfl <[EMAIL PROTECTED]> wrote: > Tony Pelton wrote: > > hi all, > > > > i wanted to ask a question, before i spend time going down a road to > > implement it. > > > > are there any thoughts on having a source file that might be

Re: [fpc-pascal] static binding to C shared library (linux)

2006-01-16 Thread Tony Pelton
take what i have to say with a HUGE grain of salt because i have no idea what i'm talking about. On 1/16/06, Alain Michaud <[EMAIL PROTECTED]> wrote: > Hi, > > I would apreciate if someone could give me some advice please. In this > example: > > cfunction = function(theparameter:cint):cint;cdecl;

Re: [fpc-pascal] static binding to C shared library (linux)

2006-01-16 Thread Tony Pelton
On 1/17/06, Alain Michaud <[EMAIL PROTECTED]> wrote: > Hi, > > thank-you for the reply. > > 1 - I compile the C library myself. I even use it from a C program > compiled by me. Therefore for the C part, I am sure that everything is > OK. I also know that the path, and all that works. ok. > > I ca

Re: [fpc-pascal] Polymorphism question

2006-03-03 Thread Tony Pelton
i'm new so grain of salt ... On 3/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > function GetMyProperty: string; overload; > procedure SetMyProperty(Value: string); overload; should these be 'override' rather than 'overload' ? -- X-SA user ? 0.4 is out ! http://x-plane.dsrts.com

Re: [fpc-pascal] WinSock

2006-03-15 Thread Tony Pelton
On 3/15/06, Bob Richards <[EMAIL PROTECTED]> wrote: > I have fpc-2.0.2 running on Linux WinSock = "Windows Sockets" <> Linux Sockets ? You might want to look at some of the abstraction libs available, such as Synapse. also, and i'm not sure about this, as i've been meaning to ask, but i think t

[fpc-pascal] OT : testing spam filtering to list ?

2006-03-16 Thread Tony Pelton
sorry for doing this, but i got a bounce on a list reply. will this message go through ? -- X-SA user ? 0.5.1 is out ! XData 0.1 for X-SA is out ! http://x-plane.dsrts.com http://games.groups.yahoo.com/group/x-plane-foo/ ___ fpc-pascal maillist - fpc-

Re: [fpc-pascal] Compiling a unit loops infinitely

2006-03-21 Thread Tony Pelton
On 3/22/06, Michael Preslar <[EMAIL PROTECTED]> wrote: > > Any help would be appreciated.. http://www.freepascal.org/bugs/showrec.php3?ID=4694 > -- > Michael Tony -- X-SA user ? 0.5.1 is out ! XData 0.1 for X-SA is out ! http://x-plane.dsrts.com http://games.groups.yahoo.com/group/x-plane-foo/

Re: [fpc-pascal] real to integer

2006-05-29 Thread Tony Pelton
On 5/29/06, Vincent Snijders <[EMAIL PROTECTED]> wrote: Use a IDE with code tools that support find declaration. that is a terrible answer. this isn't the "IDE" list, it is the Free Pascal "compiler" list. i would have beat my head against a wall for days on a problem like that. i would sug

Re: [fpc-pascal] Modify XML Document

2006-06-22 Thread Tony Pelton
On 6/22/06, Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> wrote: -- snip TDOCDocument interface source from FPC 2.0.2 -- TDOMDocument = class(TDOMNode_WithChildren) protected FDocType: TDOMDocumentType; FImplementation: TDOMImplementation; function GetDocumentElement: TDOMElement; pu

Re: [fpc-pascal] exiting a program more friendly way

2006-06-23 Thread Tony Pelton
please trim your posts. thanks, Tony On 6/23/06, Pianoman <[EMAIL PROTECTED]> wrote: Hi, I'd like to ask whether is it possible to exit program in case of runtime error 202 for example more nicely than with message runtime error 202 at a1d456d5621blablabla For example: writeln('starting to div

Re: [fpc-pascal] Nice website

2006-06-27 Thread Tony Pelton
On 6/27/06, Mattias Gaertner <[EMAIL PROTECTED]> wrote: :) Mattias i love it ! great job to those involved ! Tony -- X-SA user ? 0.5.1 is out ! XData 0.1 for X-SA is out ! http://x-plane.dsrts.com ___ fpc-pascal maillist - fpc-pascal@lists.freep

Re: [fpc-pascal] Blackberry

2006-07-05 Thread Tony Pelton
On 7/5/06, Michael Preslar <[EMAIL PROTECTED]> wrote: But rewriting in Java bytecode for Blackberry scares me. Gameport has made it very clear that the source cant be distributed in any form.. I know there are java decompilers for PCs.. I'd be there are ones for Blackberry as well. compiled ja

Re: [fpc-pascal] Sockets Unit Demos - RTL Manual Pg 1056

2007-03-05 Thread Tony Pelton
On 3/4/07, Jason P Sage <[EMAIL PROTECTED]> wrote: If not Accept(S, FromName,Sin,Sout ) Then The compiler complained about the data type for FromName. if no one jumps in with the exact answer, i would suggest that you might get better answers from the list if you : a) post a complet

Re: [fpc-pascal] Notice: Possible copyright infringements in FPCcodebase

2007-11-21 Thread Tony Pelton
On Nov 21, 2007 7:07 AM, Skybuck Flying <[EMAIL PROTECTED]> wrote: > > > But it's not open source. > > I like to think of open source vs closed source as: Viewable / Non-Viewable. ... and _that_ is where you are going wrong. "open source" is a licensing term in these contexts. By making source c

Re: [fpc-pascal] child units (was: dot within unit file name)

2008-01-22 Thread Tony Pelton
On Jan 21, 2008 12:05 PM, John Stoneham <[EMAIL PROTECTED]> wrote: > On Jan 21, 2008 1:05 AM, Vinzent Hoefler <[EMAIL PROTECTED]> wrote: > > On Friday 18 January 2008 20:12, John Stoneham wrote: > > Perhaps that's true with regard to name resolution, but Ada's package > system has a significant fea

[fpc-pascal] java programmer

2005-05-21 Thread Tony Pelton
hi all, new to the list. please get out your tissues for the tear jerking story i am about to tell about how i've fallen in love with Free Pascal, then, at the end, there will be a plea for a little help. first, i want to say thanks to whomever for Free Pascal. i had never touched Pascal before

Re: [fpc-pascal] java programmer

2005-05-21 Thread Tony Pelton
On 5/21/05, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > You might want to try Decal; It's a rich set of container classes. > Although written for Delphi, it should compile for FPC without too > much hassle; if not, feel free to contact me, I'll see what I can do. this looks nice. thanks f

[fpc-pascal] compiling code causes IDE to crash

2005-05-23 Thread Tony Pelton
hi all, i'm new to Free Pascal. wanted to throw this out to the group, see what they thought. i was trying to port an algo written in 'C' to pascal. i had written this much of the included function, and for some reason, out of some reflex, i mistakenly tried to compile it, Alt+F9. The 'fp.exe'

[fpc-pascal] Re: compiling code causes IDE to crash

2005-05-23 Thread Tony Pelton
On 5/23/05, Tony Pelton <[EMAIL PROTECTED]> wrote: > Var e : Double = .001; fwiw, after _alot_ of trial/error/ide segv's, i was able to isolate the problem to the above 'Var' declaration. Var e : Double = 0.001; ... works muc

[fpc-pascal] exit ?

2005-05-25 Thread Tony Pelton
hi all, new pascal guy, but not a new programmer. i'm used to being able to use the "return" reserved word in Java and 'C' to be able to short circuit the execution of a function/method. over and above any philisophical judgments on my programming technique, I see Free Pascal has a reserved word

Re: [fpc-pascal] File dates on the FPC server

2005-09-08 Thread Tony Pelton
hi, i'm a gentoo user. is anyone on these lists by any chance a maintainer of any of the gentoo ebuilds for fpc ? just curious. the ebuilds for gentoo seem a little behind, are masked, and they seem a little redundant/confusing. thanks for any info, Tony __

Re: [fpc-pascal] FPCUnit article/tutorial online.

2005-10-09 Thread Tony Pelton
i started to write a rather lengthy reply to this note, and realized i was starting to rant. so i'm gonna shorten my reply up quite a bit. i'm a java web app programmer by trade. i use Pascal for fun stuff. up until a couple of years ago, i went through a series of companies where i couldn't esc

Re: [fpc-pascal] Bindings to Computational Geometry libraries

2005-10-28 Thread Tony Pelton
On 10/28/05, Cox, Stuart TRAN:EX <[EMAIL PROTECTED]> wrote: > There are a number of Computational Geometry libraries available from the > web. It would be nice to be able to use them in the Pascal world. Does > anyone have bindings or wrappers or translations to FP for LEDA, CGAL or say > XYZGeob

Re: [fpc-pascal] Systems 2005: A first summary

2005-10-29 Thread Tony Pelton
On 10/29/05, Florian Klaempfl <[EMAIL PROTECTED]> wrote: > L505 wrote: > > >> > >>I think that FPC has to remain FPC, a language + compiler just like GCC. > >>IDE and Lazarus could be run on top of FPC, like many IDE run on top of > >>GCC. that would be my preference, not that my preferences matte

Re: [fpc-pascal] Systems 2005: A first summary

2005-10-29 Thread Tony Pelton
On 10/29/05, Sebastian Günther <[EMAIL PROTECTED]> wrote: > Tony Pelton schrieb: > > > > their (sun's) model is one where they offer the bundle that you need, > > where you may want a big thick bundle with the Java compiler and > > runtime and IDE, or you

Re: [fpc-pascal] Systems 2005: A first summary

2005-10-29 Thread Tony Pelton
On 10/29/05, Sebastian Günther <[EMAIL PROTECTED]> wrote: > Tony Pelton schrieb: > > > another thing that most java ide's do, which may or may not apply to > > lazarus, is that most IDE's have the ability to support more than one > > compiler suite at a tim

Re: [fpc-pascal] File locking/protection in Linux

2005-11-01 Thread Tony Pelton
without looking at what the PSP code is doing ... an article on this subject, specific to file locking on linux ... http://lists.jammed.com/ISN/2003/06/0104.html Tony On 11/1/05, L505 <[EMAIL PROTECTED]> wrote: > > How can be avoided in Linux the file corruption due to simultaneous write > > ac

Re: [fpc-pascal] File locking/protection in Linux

2005-11-02 Thread Tony Pelton
On 11/2/05, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > On Wed, 2 Nov 2005, Antal wrote: > > > How can be avoided in Linux the file corruption due to simultaneous write > > access from two different process? > > Nothing prevents a third process from using the file without locks. that was what

Re: [fpc-pascal] RE: Download file

2005-11-18 Thread Tony Pelton
On 11/18/05, Jeff Pohlmeyer <[EMAIL PROTECTED]> wrote: > > If you don't mind using an external DLL, CurlPas is quite simple, and presumably, if you are crafty, and licensing supports it, you could link the curlpas runtime statically such that you don't need the lib. Tony _

[fpc-pascal] console ui ?

2005-11-20 Thread Tony Pelton
hi all, i'm trying to hone in on a toolkit to use to do some "console gui" development. something along the lines of the FP IDE, but not as complicated. cross platform as well hopefully ? i'm having trouble understanding what the deal-ey-o is with the "FV" libs ? is there a licensing issue her

[fpc-pascal] cgi-bin/PSP

2005-11-20 Thread Tony Pelton
i don't know if i will get beat down for asking this question here ... but i'll try. i found a pascal web server : http://www.ritlabs.com/en/products/tinyweb/ it supports CGI suppossedly. if i try to get it to use a PSP CGI, the web server renders a response that says the CGI didn't return anyt