hi,

I'mnew on the list... happy to see that there is such a list...

Can you tell me to pass "nothing" to a function/proc that waits for an Var 
argument ?


Let's take the System
    procedure Val(S;var V;var Code:Integer);    

Val(S, 0, 0);  OR  Val(S, Null, Null);     doesnt' work of course

var
   S: String;
   myV : Integer; 
   myCode : Integer;
begin
   Val(S, myV, myCode);     works fine until I don't use the 2 var after so it 
makes a warning (hint) i don't want


How may I delete the warning/hint if the myV or myCode argument are never used 
after so i don't need a to declare a new var ?
(even i know that the arguments are to be used, of course :-)  )

Proc "Val" is juste an example... 

Cédric
_______________________________________________
Delphi mailing list -> Delphi@elists.org
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

Reply via email to