> 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
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
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
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.
___
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
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
>
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
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
{$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