Not sure what you are asking...
Code:
START:
While PORTB.2 != 1 ' if start button is not push do this loop 

While voltage_percent != 100 ' Charge the battery
Gosub Charge_TwelveVolt

###SNIP####

Gosub Battery_DisCharging 'LCD out the battery discharge information
Voltage_Array_Charge_time(Battery_Cycle_Counter) = timer_time 
Voltage_Array_Discharge_time (Battery_Cycle_Counter) = timer_time
Battery_Cycle_Counter = Battery_Cycle_Counter + 1
Wend
Wend
GOTO START