hello list members,
could anyone of you give me a hint how to assign a value to an untyped
variable parameter of a procedure. E.G. in the following procedure:
procedure test(var value);
var r : real;
begin
r := 1.0;
value := real;// does not work
end;
which type to be used for a type
Thank you both for your fast help. And of course I meant "value := r;"
I have found a third solution in the mean time (one should not give up to
early:)
Do you know if that is in a machine independent way?
procedure test(var value);
var r : real absolute value;
begin
r := 1.0; // seems to w
>
> Hello all,
>
> Friday, July 11, 2003, 3:18:58 PM, you wrote:
>
> ZG> hello list members,
> ...
> ZG> which type to be used for a type cast (that is not
> allowed for the left
> ZG> side) or how to use an address operator to manage it?
> at least in my fpc 1.0.6 typecasts for the left side a
> > lazarus
>
>
>
> That's OK but you need the Lazarus flavour of FPC. Is there no
> alternative? I'd like something like the DOS Qedit but
> everyone seems to
> be writing GUI IDE's or text editors.
I use Nedit for editing and ddd as a good front end for gdb, the debugger.
There is a hack fro
> How ist possible to make initialize in fpc a multiline label.
> Something like
>
> Lbl := gtk_label_new('Line1 \n Line2');
>
> I guess but with what do I have to replace the "\n" ?
>
> Thank's for any help
>
> Pedro
>
one possibility is:
Lbl := gtk_label_new('Line1 '#10' Line
Hello Donald,
>If I have a file which contains on the first line...
>
> 49ers at Giants 16 13
>
>I want to open a file called "49ers" and a file called
> "Giants" and do
> some processing. Although FP handles strings, I believe that
> you can still
> only read a character at a time, so
Hello Mark
>
> How can I use fillchar to give an ansistring a value of, say
> 'x'? In other words, I want to create a string that contains
> only a single character, that is repeated a certain number of times.
>
> Mark
>
There is an example in the reference guide for function FillC
hello all,
after finding the reference manual of FPCs Code Documenter I'm not able to
find any source file or binary of it. The link in the documentation
(http://fpdoc.freepascal.org) seems not to work :-(
Is there any chance to get it? It would be very helpful and it seems to be
quite new (docum