You have not shown enough about where the value is coming from. It looks like you need a loop up there. Try tracking the state of your variable back to its source with lots of print statements to see where in the unshown code things go wrong.
PS: be sure to use strict and warnings. When you spell variable names like 'collum', you're bound to run into trouble sooner or later, and those will help catch it.
In reply to Re: Cannot seem to pass number to a function
by SuicideJunkie
in thread Cannot seem to pass number to a function
by BlueInk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |