Re: procedure-call


[ Related Articles and Replies ] [ DelphiLand FAQ ] [ Delphi Tutorials ]

Posted by jean claude servaye on March 08, 2002 at 03:36:16:

In Reply to: procedure-call posted by yoeri on March 07, 2002 at 13:23:56:

: hello,

: I have a question about a procedure-call; is it possibele to program a procedure in one unit and to call this procedure in another unit? and if so: how do I have to write the procedure-call?
: I know this is possible for a variable. for example:

: unit1:
: var
: length : integer

: procedure...
: begin
: length := 15

: then I can use the same value I've given in unit1 to lenth in another unit

: other unit:
:
: procedure
: X := unit1.length

: I hope someone can help me,

: yoeri

add the name of the unit1 in the uses clause of the other unit.


Related Articles and Replies:


[ Related Articles and Replies ] [ DelphiLand FAQ ] [ Delphi Tutorials ]