View Single Post
# 1 25-02-2004 , 12:42 AM
Dann's Avatar
Registered User
Join Date: Feb 2003
Location: Los Angeles
Posts: 695

passing a variable to a proc

I'm trying to pass a variable from one proc to another, but can't figure out the syntax. I can't seem to find the place in the docs where this would be described. Can anyone help?

Something like this.

global proc testPrint()
{
string $sendA = "Success";
string $sendB = "Failure";

printMe($sendA,$sendB);

}
global proc printMe(string $A, string $B)
{
print $A
print $B
}