General information
Category:
Coding, syntax & commands
Title:
Passing a number to a Function
Hi All,
I am trying to pass a number to a function, do a process, and return a value. But I get no value in the function.
MESSAGEBOX(STR(cntr1)) && Gives me the correct value for 'cntr1'
total_spacers = detailspacer(cntr1)
FUNCTION detailspacer
PARAMETER long_type
MESSAGEBOX(STR(long_type)) && This says 0
I know it's Monday and I'm not quite awake. But, why can't I get a value in the function?
TIA
Mike
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only