Re: [fpc-pascal] a proposal about "with" syntax

2013-03-18 Thread Ralf A. Quint
At 10:03 AM 3/18/2013, Jürgen Hestermann wrote: Am 2013-03-16 07:13, schrieb Xiangrong Fang: I would like to do this: with MyClassInstance as mci, SomethingElse do begin Caption := 'A new caption'; for i := 0 to Count - 1 do mci[i] := UpperCase(mci[i]); end; That is, to add an optiona

Re: [fpc-pascal] pascal compiler for ardurino

2013-02-27 Thread Ralf A. Quint
At 12:44 AM 2/27/2013, Marco van de Voort wrote: If one is afraid of overhead, I would simply buy the vendor recommended compiler. Many of the 3rd party alternatives are less optimal too. At least they are with (ds)pic Well, as far as the micro controller vendors are concerned, those are usual

Re: [fpc-pascal] pascal compiler for ardurino

2013-02-27 Thread Ralf A. Quint
At 12:08 AM 2/27/2013, Sven Barth wrote: That's another question of course. But e.g. Florian tries to minimize the overhead of the embedded RTL and if you are aware that you shouldn't use high overhead features they won't be linked in either (e.g. if you don't use Variants then the variants uni

Re: [fpc-pascal] pascal compiler for ardurino

2013-02-26 Thread Ralf A. Quint
At 10:27 PM 2/26/2013, Sven Barth wrote: Am 26.02.2013 20:08 schrieb "ik" <ido...@gmail.com>: > > Hello, > > Is there a Pascal compiler for Ardurino (instead of the existed build > in language or C) ? FPC has an AVR target (the processor the Arduino is based on), but I

Re: [fpc-pascal] pascal compiler for ardurino

2013-02-26 Thread Ralf A. Quint
At 11:07 AM 2/26/2013, ik wrote: Hello, Is there a Pascal compiler for Ardurino (instead of the existed build in language or C) ? Don't know anything Arduino specific (their forums seem to be overrun by C language nazis), but for the AVR micro controllers in general I know of 3 commercial pr

Re: [fpc-pascal] differences between .pp and .pas files

2013-02-25 Thread Ralf A. Quint
At 12:19 PM 2/25/2013, waldo kitty wrote: On 2/25/2013 00:34, Eric Kom wrote: Good day, Please what is a difference between .pp and .pas files extension? IIRC, pp is objectpascal whereas pas is "general" pascal... There is no "is", it's all up to you what kind of convention you use. From t

Re: [fpc-pascal] differences between .pp and .pas files

2013-02-24 Thread Ralf A. Quint
At 09:34 PM 2/24/2013, Eric Kom wrote: Good day, Please what is a difference between .pp and .pas files extension? two characters... ;-) _ / You are scrupulously honest, frank, and \ | straightforward. Therefore you have few | \ friends.

Re: [fpc-pascal] Re: Compiled program is a virus (seems to be internallinker problem)

2013-02-12 Thread Ralf A. Quint
At 01:31 PM 2/12/2013, Sven Barth wrote: On 12.02.2013 19:10, waldo kitty wrote: On 2/12/2013 06:18, Lukasz Sokol wrote: On 11/02/2013 23:19, Gerhard Scholz wrote: I switched to AVAST free Antivirus now, the problem does not occur here. This is not a pascal question, but maybe can give me a h

Re: [fpc-pascal] Re: CrossFPC is finally released

2012-12-30 Thread Ralf A. Quint
At 03:01 PM 12/30/2012, leledumbo wrote: lazarus was in beta for that many years, but this project has just got its FIRST beta in many years No so fast, they actually have to release something first. On their web site it says "The first public download will be provided within late December 201

Re: [fpc-pascal] Websocket client

2012-12-17 Thread Ralf A. Quint
At 02:25 AM 12/17/2012, Krzysztof wrote: But then you did not mention that you're looking for something cross-platform either.. ;-) Actually I did :P "...client which work on linux and windows" Sorry, my bad :-[ , I totally missed that, saw it now when I checked back at your original messa

Re: [fpc-pascal] Websocket client

2012-12-16 Thread Ralf A. Quint
At 01:14 PM 12/16/2012, Krzysztof wrote: Yes, I saw it in google result. What I remember that ICS was only for windows. Something changed in this case? No, not that I am aware of, it is AFAIK still Windows only. But then you did not mention that you're looking for something cross-platform eith

Re: [fpc-pascal] Websocket client

2012-12-16 Thread Ralf A. Quint
At 12:32 PM 12/16/2012, Krzysztof wrote: Hi, Anyone know good and free websocket client which work on linux and windows? Have you looked at what is included into Francois Piette's ICS? (http://www.overbyte.be/frame_index.html?redirTo=/products/ics.html) Ralf __

Re: [fpc-pascal] converting a TP/BP library to FPC

2012-12-06 Thread Ralf A. Quint
At 04:25 PM 12/5/2012, waldo kitty wrote: i know this is using direct access to the timer ticker from the BIOS but at this time, i don't know how to best handle it in FPC... Well, it might depend on what that timer is being used for PPS: sorry if this is rambling... today is my birthday a

Re: [fpc-pascal] TurboPower FlashFiler for Free Pascal

2012-10-25 Thread Ralf A. Quint
At 11:54 PM 10/23/2012, stdreamer wrote: B-tree filer isn't worth the bytes on the disk for storage only as a piece of museum software on how things was in early 90's. Little does he know... Guess you weren't programming back in the early '90s or you would probably not make such statements...

Re: [fpc-pascal] Re: Delphi's anonymous functions in Free Pascal

2012-08-30 Thread Ralf A. Quint
At 01:18 AM 8/30/2012, Arioch wrote: tcoq wrote > > a laziness to software design: what you can't name you actually don't > design... > Guess you meant "don't want to" instead of "can't" And You mean all the non-named arrays, don't you. "var x: array[0..10] of integer; " is not only violating

Re: [fpc-pascal] Re: Delphi's anonymous functions in Free Pascal

2012-08-30 Thread Ralf A. Quint
At 12:09 AM 8/30/2012, michael.vancann...@wisa.be wrote: I don't think anonymous functions should be added to the compiler at all. They are IMHO a negation of what pascal stands for. If your programming style is so strange that you need lamba functions or anonymous functions, then Pascal is simp

Re: [fpc-pascal] convert "epoch" to UTC

2012-01-16 Thread Ralf A. Quint
At 09:40 AM 1/16/2012, Sven Barth wrote: Well... I would say the same as FPC's "floor" routine ( http://www.freepascal.org/docs-html/rtl/math/floor.html ) does ;) Well... someone might want to check the example for that function ;) Ralf ___ fpc-pa

Re: [fpc-pascal] OT: Delphi HLPlib is discontinued

2012-01-09 Thread Ralf A. Quint
At 08:28 AM 1/9/2012, ik wrote: On Mon, Jan 9, 2012 at 18:24, Ralf A. Quint <<mailto:free...@gmx.net>free...@gmx.net> wrote: At 05:17 AM 1/9/2012, ik wrote: Hello, I've read today a thread about <<http://code.google.com/p/delphilhlplib/%20>http://code.google.c

Re: [fpc-pascal] OT: Delphi HLPlib is discontinued

2012-01-09 Thread Ralf A. Quint
At 05:17 AM 1/9/2012, ik wrote: Hello, I've read today a thread about the subject's project. It is a free software project that we also be interested in. So if any existed Pascal based code library can adopt it, I think we can all benefit from it.

Re: [fpc-pascal] Re: Why is Random(255) some 529x slower compared to Delphi7?

2011-12-08 Thread Ralf A. Quint
At 10:50 AM 12/8/2011, Graeme Geldenhuys wrote: On 8 December 2011 18:41, Florian Klaempfl wrote: > > And? The conclusion is what we concluded years ago: be as delphi > compatible as possible else people start to cry soon or later. The funny > thing is only that this time the people cry who didn

Re: [fpc-pascal] Free Pascal 2.6.0rc1 released

2011-11-05 Thread Ralf A. Quint
At 04:47 PM 11/5/2011, Luiz Americo Pereira Camara wrote: On 5/11/2011 20:27, Marco van de Voort wrote: Downloads are available at the FTP server at: ftp://freepascal.stack.nl/pub/fpc/beta/2.6.0-rc1/ Cant download 550 /pub/fpc/beta/2.6.0-rc1/: Permission denied. ditto... :-( Ralf _

Re: [fpc-pascal] How are Assigned, Free, Nil and Destroy related?

2011-10-23 Thread Ralf A. Quint
At 11:52 AM 10/23/2011, Frank Peelo wrote: If I recall corerctly, that Modula-2 value for nil was the address the 8086 jumped to when released from RESET. So jumping through a pointer with value nil would be something you would notice pretty much immediately. Certainly not. Modula-2 was/is n

Re: [fpc-pascal] Any command line interpreters for Free Pascal?

2011-10-15 Thread Ralf A. Quint
At 09:30 AM 10/15/2011, Andrew Pennebaker wrote: Indeed, compiled programs will always run faster than interpreted programs. The value in scripting is that an interpreted environment allows coders to rapidly go through write code / test code loops. Interpreters let you explore your own codebase

Re: [fpc-pascal] Any command line interpreters for Free Pascal?

2011-10-15 Thread Ralf A. Quint
At 10:00 AM 10/15/2011, Mattias Gaertner wrote: "Ralf A. Quint" hat am 15. Oktober 2011 um 05:03 geschrieben: > At 03:56 PM 10/14/2011, Andrew Pennebaker wrote: > >Yeah, I know to chmod my scripts before dot-slashing them. It's just > >that fpc can't h

Re: [fpc-pascal] Any command line interpreters for Free Pascal?

2011-10-14 Thread Ralf A. Quint
At 03:56 PM 10/14/2011, Andrew Pennebaker wrote: Yeah, I know to chmod my scripts before dot-slashing them. It's just that fpc can't handle shebangs, and I don't want to have to choose either scripting or compiled. I like my Pascal code to be work in either mode. Gosh, (Free)Pascal is a compil

Re: [fpc-pascal] How do I load external Pascal code?

2011-10-13 Thread Ralf A. Quint
At 10:06 PM 10/13/2011, Søren Ager wrote: On 2011-10-14 05:17, Andrew Pennebaker wrote: In some languages, especially scripting languages, Pascal is not a scripted language so it is not really something you want (or should imo) to do in Pascal +1 Ralf __

Re: [fpc-pascal] How do I load external Pascal code?

2011-10-13 Thread Ralf A. Quint
At 08:02 PM 10/13/2011, Andrew Pennebaker wrote: I can USE the code just fine in a second file, test.p, and compile and run a test executable. But I'd like to be able to turn my units into self-sufficient executables (and later add command line options). Looks like you do not understand the b

Re: [fpc-pascal] FPC for Mac OS X, any updates?

2011-05-28 Thread Ralf A. Quint
At 03:25 AM 5/28/2011, Jonas Maebe wrote: On 28 May 2011, at 05:02, Ralf A. Quint wrote: > Are there any updates on how to use FPC with Mac OS X? The disk image containing the FPC installer for Mac OS X contains both a "Getting Started.rtf" and a "FPC Xcode ReadMe.rtf"

[fpc-pascal] FPC for Mac OS X, any updates?

2011-05-27 Thread Ralf A. Quint
Are there any updates on how to use FPC with Mac OS X? The "FPC on the Mac" pages on freepascal.org are more than 2 years old, referring to v2.2.2 from August 2008 and the link to the "the step-by-step instructions on how to download and install the XCode Integration Kit" results in a 403... :

Re: [fpc-pascal] accessing files from a function

2011-05-15 Thread Ralf A. Quint
At 05:28 PM 5/15/2011, John Lee wrote: I'd like to put the assign and reset of a text file into a function, and then use the function to return a line from the file, without needing to close the file then re assign and reset every time (for performance reasons) - see below for my attempt. Th

Re: [fpc-pascal] Pointers

2010-02-11 Thread Ralf A. Quint
At 12:53 PM 2/11/2010, Rainer Stratmann wrote: > I am fairly certain that he confuses this with the special case of > applying sizeof() to a string type, where you always get one byte > more (the preceding length byte) than the string type has been > defined, for example SizeOf (String [80]) will

Re: [fpc-pascal] Pointers

2010-02-11 Thread Ralf A. Quint
At 12:07 PM 2/11/2010, Jonas Maebe wrote: On 11 Feb 2010, at 18:17, Rainer Stratmann wrote: In the past with the turbopascal compiler and other always sizeof byte was added. That is not true. This program prints "2" when compiled under Turbo Pascal: I am fairly certain that he confuses thi

Re: [fpc-pascal] Who said Pascal isn't popular

2009-10-11 Thread Ralf A. Quint
At 05:27 PM 10/11/2009, Mark Emerson wrote: Remember, Pascal is merely a TEACHING language, unsuitable for commercial software development, which is why we have C. :) Yeah, right... >:-} Ralf ;-) ___ fpc-pascal maillist - fpc-pascal@lists.free

Re: [fpc-pascal] Who said Pascal isn't popular

2009-10-11 Thread Ralf A. Quint
At 03:25 PM 10/11/2009, Graeme Geldenhuys wrote: I came across this link by chance. Wow, I never knew there was that many Pascal Compiler implementations. A lot! http://pascaland.org/pascall.htm Well, reduce it to the compilers that are still maintained, and the list is far less impressive...

Re: [fpc-pascal] Meaning of "^M^J"

2009-09-29 Thread Ralf A. Quint
At 09:38 PM 9/29/2009, yu ping wrote: ^A= 1 ^b= 2 ^c= 3 ^d= 4 ^e= 5 ^f= 6 ^g= 7 ^h= 8 ^i= 9 ^j= 10 ^k= 11 ^l= 12 ^m= 13 ^n= 14 ^o= 15 ^p= 16 ^q= 17 ^r= 18 ^s= 19 ^t= 20 ^u= 21 ^v= 22 ^w= 23 ^x= 24 ^y= 25 ^z= 26 I wander how "^" symble works It's a common abbreviation for the the 'Control' char

Re: [fpc-pascal] Meaning of "^M^J"

2009-09-29 Thread Ralf A. Quint
At 08:48 PM 9/29/2009, yu ping wrote: I read a source file,found it writes "^M^J" to a output. I don't know what is it's meaning, after test,I think it should be a return char, my question is, where can i find defination of this? It's simply the byte sequence 0Dh, 0Ah (or 0x0d, 0x0a of C afici

Re: [fpc-pascal] FPC reference manual.

2009-09-27 Thread Ralf A. Quint
At 12:28 PM 9/27/2009, Pascal wrote: Hello Michael. I really don't want to be too much annoying but you could believe it ;-) I'm updating Pascal to Ada translator (http://sourceforge.net/ projects/p2ada/) to a more modern Pascal syntax as FPC is. You might want to remove the blank in the URL a

Re: [fpc-pascal] Find out local IP adress

2009-03-22 Thread Ralf A. Quint
At 01:21 PM 3/22/2009, David W Noon wrote: On Sun, 2009-03-22 at 20:36 +0100, Rainer Stratmann wrote: > Am Sonntag, 22. März 2009 20:24 schrieb Jonas Maebe: > > On 22 Mar 2009, at 20:21, Rainer Stratmann wrote: > > > May be there exists another way to find out the local IP adress. > > > > "The"

Re: [fpc-pascal] Spreadsheet library/unit?

2008-10-06 Thread Ralf A. Quint
At 12:40 PM 10/6/2008, Marco van de Voort wrote: In our previous episode, Frank Peelo said: > >>CSV is occasionally referred to as something other than "Comma Separated > >>Values". I'm not sure why. > > > > > > Because the comma is a bad separator for countries where the comma is the > > decimal

Re: [fpc-pascal]CRT Window Colors

2003-10-17 Thread Ralf A. Quint
At 07:37 AM 10/17/2003, Krall Ed-P27726 wrote: Is there any way to get a white background color for a console window? I use textbackground (white) from the CRT package, but the window is gray. No, as you have only 7 background colors, as one bit is reserved for the blink bit. Theoretically, you

Re: [fpc-pascal]please reply immediately

2003-03-08 Thread Ralf A. Quint
At 10:33 AM 03/08/2003, you wrote: Abdulahi Mohammed wrote: Abdulahi Mohammed InterGlobe bank plc. lagos, Nigeria [EMAIL PROTECTED] tel: 234 803 3061041 This is a so-called "nigerian advance fee scam" - email DO NOT REPLY TO THIS E-MAIL Well, i can't imagine that any human being with an IQ above r