Thursday 12 February 2009

This is what I called SHIT!!!

My discussion with my manager yesterday end up with >> I HAVE TO HOLD ON MY PLAN AND I COULD NOT START TO DEVELOPMENT SIDE OF THE TOOL. So he lastly decided to understand the logic and the relationship between the tool. I've done it many time and now i get fed up with it. I ask permission to access the database but he said i have to get license. OK fine! now he gave a bundle of source code and requests me to understand about it. So just imagine i have this is what i am doing.


<%
totalAll=0
n = 1
For i=1 to UBOUND(arrName)
if arrName(i) <>"" then
echo ""
echo "" & n & ""
n = n + 1
echo "" & UCase(arrName(i)) & ""
tmptotal=0
For x=1 to UBOUND(ArrDate)
%><%
nTotal=0
for j=0 to UBOUND(ArrAllName)
IF ArrAllName(j) = ArrName(i) AND ArrAllDate(j) = ArrDate(x) THEN
nTotal = nTotal + 1
ArrTotalPerDate(x) = ArrTotalPerDate(x) + 1
END IF
Next

IF nTotal > 0 THEN
response.write(nTotal)
ArrHC(x) = ArrHC(x) + 1
ELSE
response.write(" ")
END IF

tmptotal = tmptotal + nTotal

%><%
next
echo "" & tmptotal & ""
echo ""
end if
Next


%>


No cry ya!!!! This is ASP source code and This is silly..reading and try to understand other's source code is silly because different people has different ways to program. In the mean time i am extremely hungry!!

3 comments:

Unknown said...

Be patient...

BUTIZA'ON said...

Relax lah friend ... this is what we call user friendly, cepat upload and cool template .. nanti sia test di rumah kalau dpt blog ko ni ..indak dpt d rumah bah ko punya blog ni. Entah kenapa ..

Andrik McVean said...

SUMANDAK..MIMANG SIA SABAR2 JAH LAGI NIE

BUTIZA'ON...TUH LAH SEBAB SY TUKAR TEMPLATE NIE...INDA BULI KENA LOAD YANG TEMPLATE LAMA SIA

Other stories

Related Posts with Thumbnails