in reply to Cannot seem to pass number to a function
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Cannot seem to pass number to a function
by BlueInk (Novice) on Aug 12, 2009 at 15:18 UTC | |
by ack (Deacon) on Aug 12, 2009 at 16:37 UTC | |
by BlueInk (Novice) on Aug 12, 2009 at 17:04 UTC | |
by ig (Vicar) on Aug 12, 2009 at 19:40 UTC | |
by BlueInk (Novice) on Aug 13, 2009 at 13:01 UTC | |
by Anonymous Monk on Nov 23, 2010 at 14:25 UTC | |
by ig (Vicar) on Nov 26, 2010 at 22:10 UTC | |
by Anonymous Monk on Dec 03, 2013 at 20:18 UTC | |
by Anonymous Monk on Mar 09, 2011 at 22:22 UTC |