Oh, wait.  I misread that.
Are you sure the array contains letters?  Usually an array will return 1 for
an increment when the previous value was '', 0, or undef.

-----Original Message-----
From: Timothy Johnson [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 9:15 AM
To: 'Allison Ogle'; a a
Subject: RE: Incrementing the letters in an array



Are you looking for something like this?

$array[$x++];  #Moves to the next element in the array

-----Original Message-----
From: Allison Ogle [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 9:05 AM
To: a a
Subject: Incrementing the letters in an array


Hi,

I have an array which contains letters.  I need to increment these letters
in the array one at a time.  For example going from B to C.  I was trying
something like

$array[$x]++;

however that increments the letter to the number 1.  Does anyone have any
ideas?  Thanks in advance.

Allison


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to