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!

Array

Status
Not open for further replies.

lambros

Programmer
Oct 10, 2002
42
0
0
US
Hi,

I am doing the following;

split($1,t,":") - using split function to add time to arroy
j = t[4]+01 - adding 1 second to the original time
newtime[n]=t[2]":"t[3]":"j - the new time is set to variable newtime

timeARR[a++]=newtime - this does not work, I want to add the new time variable to the array timeARR, it doesn't work properly, how can I do this?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top