the function jop had shown is
like the way C does it...


int Add(int a, int b) {
return a + b;
}


and....
just to be controversial :
a good programmer always defines
a variable one to a line...

dim a as integer
dim b as integer
etc.
etc.
etc.


try to read that code when you have to
maintain the program after that guy has left
the company....


[Edited by larryn on 11-01-2000 at 02:25 PM]