Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: wim1
  • Order by date
  1. wim1

    Numerical vs String variable

    Tom, Thanks for the suggestions. Your last one made me try something and it worked!!!! Here is what I did: if ($form{"$sequence[$i]"} eq $answers[$sequence[$i]] || $tick == 1) { $correct++; $num = $asked[$sequence[$i]]; $num++; $asked[$sequence[$i]] = "$num\n&quot...
  2. wim1

    Numerical vs String variable

    Tom, I do appreciate your help, but that did not fix it. I still get 0 10 0 instead of 0 1 0 in my output file. Any other suggestions? If not, I do appreciate your time. Wim
  3. wim1

    Numerical vs String variable

    I have an initial file I read in. It is just a bunch of zeroes. Max will be 400, looking like this. 0 0 0 0 0 If a certain event occurs, I want to increment that postition by 1. Instead, my output looks like this 0 0 10 0 0 It appears to me it treats it aas a string and not as a number...

Part and Inventory Search

Back
Top