0 Members and 3 Guests are viewing this topic.
Var S: Integer;Begin S := 1; Multiply(S,6); //S = 6; S := 10; Multiply(S,10); //S = 100;end;//See what I mean?//Can someone pleaaaase help me? :D
. . . . . . .*5 * 3 = 15
function Multiply(A,B: integer): integer;begin Result:= A*B;end;
Why would you want something like that? It's so simple it's not worth using 4 lines instead of 1.Please sticky this thread
[...]At first I thought you were being sarcastic on your second post.Good luck with whatever your working, you'll need it.