mob/proc/test(a,b,c) |
How does passing the arguments here work? Does the proc test define new variables a,b,c? Does testverb define the new variables and then pass them onto world << test(a,b,c)? How does world << test(a,b,c) pick up the test proc arguments? Do the letters have of testverb have to match test?
What is this kind of coding being called?
By the way what does return 1 and return 0 mean? How do they work?
In the coding you provided, testverb calls test(a,b,c) then outputs the results, which is nothing. You'd have to return a value inside the proc to have it output anything, otherwise it's null.