I have the following code:
function nString2nList (Str: String; var Num:Number):boolean; var CurrentChar: integer; begin CurrentChar:=0; while (Str[CurrentChar]<>'a') do begin writeln (Str[CurrentChar]); CurrentChar:= CurrentChar+1; end; nString2nList:=true; end;
begin nString2nList ('-0123a', Num1); end.
I get the following error on the one before last line:
function call as a statement - value is ignored
__________________________________ Do you Yahoo!? Yahoo! Mail - 250MB free storage. Do more. Manage less. http://info.mail.yahoo.com/mail_250