Thread: Loop
View Single Post
  #8   Report Post  
Posted to microsoft.public.excel.programming
joel[_538_] joel[_538_] is offline
external usenet poster
 
Posts: 1
Default Loop


The is why I used chr("a") rather than the number 96. I rember the hex
equivalent that digits are 30 to 39, capital A is 41, lower case a is 61
(6 x 16 + 1 = 96). I was looking at Neil's code where here used the
numbers and used 96 + 1 to get the letter "a". I didn't look closely
that he started his for loop at 1 where I started at 0.

Basic originally started arrays and indexing at one at later added the
feature of having the option for either zero or one. I'm used to C
Language which always used zero as the first item in arrays. This is a
problem that has been happening for over 2000 years. Man invented one
before he invented zero (and negative numbers).


--
joel
------------------------------------------------------------------------
joel's Profile: 229
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=170229

Microsoft Office Help