Thursday, June 05, 2008

Brain Code

more modular already.

RunBrain(Soul sl)
{

if (hp.receivedYamchaEvent==true)
InitiateYamchaEvent(wallet,keys,hp,specs);

EmailList = computer1.receiveEmail();

while (!EmailList.EndOfEmailList())
{
if (MatchClientList(EmailList.getEmail(), ClientNames)
{
if
(EmailList.getProjectTime() > getFreeSchedule()
{
EmailList.Reply("Cannot sorry");
}
else
{
ProjectList.AddItem(EmailList.getProjectDetails());
}
}
EmailList.getNextEmail();
}


while (ProjectListItem.EOF)
{
WorkProject(ProjectListItem);
}

if
((Body.Status=IDLE)&&(Body.LastUpdatedStatusTimeInHours>8))
{
InitiateWalkProcedure(PlazaDamas);
}


}

I'm now annoyed I can't do tabs in Blogger. >(

No comments: