For the cousin who phoned earlier, asking for help with Pascal loops, check these links:
I haven't thoroughly checked these sites out, but they seem OK at a glance.
I got the links from this Google search.
Call me on my cellphone if you need more help.