Thread: _indexof2
View Single Post
  #14  
Old 09-21-2003, 03:36 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally posted by TribulationStaff
Would you care to explain how three to four ifs could allow me to convert one of 64 characters into their decimal equivalents?
You'd obviously need a little more code as well; the if-statements would merely divide the characters into ranges. After that, it would be a simple matter of arithmatic.

Quote:
Secondly, how is it at all inefficient to condense those ifs into a single indexof?
Please tell me you're not one of those people who thinks that shortness of script == efficiency.
__________________
Reply With Quote