Kn1ght_M4r3
Member
hey how do i declare the global variables in pseudocode so that they can be used in both sub programs and the mainprogram =/ i dont remember this. =0,
wat im trying to do is use an errorcounter that will be used in subprogram and then use it to display the number of errors in the mainprogram.
eg:
Display "number of errors encountered:" ErrorCounter
Another question
Two race times are to be entered in the form of hours, minutes, seconds, and hundredths of a second, and if the times entered are valid (valid times are between 8am and 11pm, minutes and seconds are between 0 and 59, hundredths are between 0 and 99
Is it possible to write the code
Format Time As (HH:MM:SS:HS)
N.B that Hs is hundreths of a second, ss is seconds an mm is minutes and HH is hours heehhe. =)
Coz wat i wanna do is then validate it, by maybe using casewhere statements.
thanx guys i owe yah one.
wat im trying to do is use an errorcounter that will be used in subprogram and then use it to display the number of errors in the mainprogram.
eg:
Display "number of errors encountered:" ErrorCounter
Another question
Two race times are to be entered in the form of hours, minutes, seconds, and hundredths of a second, and if the times entered are valid (valid times are between 8am and 11pm, minutes and seconds are between 0 and 59, hundredths are between 0 and 99
Is it possible to write the code
Format Time As (HH:MM:SS:HS)
N.B that Hs is hundreths of a second, ss is seconds an mm is minutes and HH is hours heehhe. =)
Coz wat i wanna do is then validate it, by maybe using casewhere statements.
thanx guys i owe yah one.