Block_Of_Code()
switch(variable)
if(1)
return "One"
if(2)
return "Two"
if(3)
return "Three"
else
return "What!?"
Could I get it to something like this without errors? :
Block_Of_Code() switch(variable) if(1) return "One" if(2) return "Two" if(3) return "Three" else return "What!?"
proc/Block_Of_Code(var/variable) {switch(variable) if(1) return "One"; if(2) return "Two"; if(3) return "Three"; else return "What!?"}