Re: [fpc-pascal] Lazarus Snapshots Intel Mac with FPC 2.4.1?

2010-04-20 Thread Tobias Giesen
> Another, more seldom reason for recompilation problems is that you > happen to name one of your own units the same as a rtl/fcl/lcl library > unit. In that case the compiler thinks that your file is the new source > and it wants to recompile the library units Wow, that is very useful informat

Re: [fpc-pascal] [ANN] BeepFp v1.1 released

2010-04-20 Thread Henry Vermaak
On 20 April 2010 07:19, Wimpie Nortje wrote: > I don't understand what you mean I think he means the ascii bell code, which makes a beep if you write it to a console. This ascii bell code is 7, or control-G. Henry ___ fpc-pascal maillist - fpc-pasca

Re: [fpc-pascal] [ANN] BeepFp v1.1 released

2010-04-20 Thread Graeme Geldenhuys
Wimpie Nortje het geskryf: > I don't understand what you mean > > Johann Glaser wrote: >> Isn't that as easy as just using >> Write(^G); Is you BEEP framework/library/service the same as the beep sound made by a computer speaker. eg: writing the bell character (#7) to the console causes the PC

Re: [fpc-pascal] [ANN] BeepFp v1.1 released

2010-04-20 Thread Marco van de Voort
In our previous episode, Johann Glaser said: > > Isn't that as easy as just using > Write(^G); Afaik that only works with the terminal in cooked mode. If you do it by e.g. IOCTL (don't know how beepfp does it under FreeBSD, see unit console) this should work afaik. ___

Re: [fpc-pascal] [ANN] BeepFp v1.1 released

2010-04-20 Thread Jonas Maebe
On 20 Apr 2010, at 11:46, Marco van de Voort wrote: In our previous episode, Johann Glaser said: Isn't that as easy as just using Write(^G); Afaik that only works with the terminal in cooked mode. If you do it by e.g. IOCTL (don't know how beepfp does it under FreeBSD, see unit console

Re: [fpc-pascal] Dear FreePascal

2010-04-20 Thread Bart
Hi, >  >> Tirdly, once I was programming a program (the source code is below) >  when I input about 100 data the program occured a error ,then it >  terminated. I don't why ,and I can't understand the Error Code it gives >  to me.Can you find my error and fix it for me? >   for i:=1 to 112 do >

Re: [fpc-pascal] [ANN] BeepFp v1.1 released

2010-04-20 Thread Jorge Aldo G. de F. Junior
hahahahhahah BEEP has nothing to do with beeping from the application :P 2010/4/20 Jonas Maebe : > > On 20 Apr 2010, at 11:46, Marco van de Voort wrote: > >> In our previous episode, Johann Glaser said: >>> >>> Isn't that as easy as just using >>>  Write(^G); >> >> Afaik that only works with the

[fpc-pascal] Changing propertie's getter procedure by code

2010-04-20 Thread Guionardo Furlan
Hello "Lazarentos" I created a base class that uses RTTI to link the properties of child classes to fields of a TDataset. I need to modify the base class getter method for each property. Checking the sources of methods RTTI, the point is PPropInfo.GetProc. So how to assign the address of a method

Re: [fpc-pascal] Dear FreePascal

2010-04-20 Thread Jürgen Hestermann
{$i-} reset(dat);{$i+} if ioresult <>0 then rewrite(dat); Although not wrong, the purpose of this construction is not clear to me. In every case you will end up overwriting all data in the file. In that case you could simply do with a rewrite(dat). The reset(dat) is really not n