// Function
number FunctionName1 (number FunctionArgument1, number FunctionArgument2)
{
number Variable3
Variable3 = FunctionArgument1+FunctionArgument2
return Variable3
}
 
// Main script
number number1, SoredValue1
GetNumber("Please enter a number for Number1", 300, number1)
// Store the returned value (from the function) in SoredValue1
SoredValue1 = FunctionName1(20,number1) // SoredValue1 = FunctionArgument1+FunctionArgument2
Result("The value1 is "+SoredValue1+"\n")
