How do I return a calculated value from a routine()
vara=5;
varb=10;
goDoSomething(vara, varb, varc)
//come back with varc
debugPrintln(varc);
goDoSomething(vara, varb, varc){
varc=vara+varb;
}
I keep getting undefined for varc
vara=5;
varb=10;
goDoSomething(vara, varb, varc)
//come back with varc
debugPrintln(varc);
goDoSomething(vara, varb, varc){
varc=vara+varb;
}
I keep getting undefined for varc
Comment