Archived posting to the Leica Users Group, 2004/11/10
[Author Prev] [Author Next] [Thread Prev] [Thread Next] [Author Index] [Topic Index] [Home] [Search]Daniel, int main() { while(1) { if (!Mailer->Poll(&email)) { sleep(10000); continue; } if (email->from != "Daniel") continue; if (!strstr((const char*)email->MessageBody, "How old are you!\n")) continue; Email *myReply = email->Reply(); myReply->MessageBody = "It's an infinite loop!!! ;) \n"; myReply->Send(); delete myReply; } return 0; } Yah, sure it does! Nice to see y'all fellow computer programmers on this list. Tom >> In any case, morse code is not a language. And computer languages are >> not natural human languages either. > >$WeDontKnowWhenTheSpotmaticWasIntrodoced = True; > >while ($Karen == $MidThirties && $WeDontKnowWhenTheSpotmaticWasIntroduced) >{ > print "How old are you!\n"; >} > >print "Cannot happen.\n"; > >Kind'a works :) > >Daniel > >_______________________________________________ >Leica Users Group. >See http://leica-users.org/mailman/listinfo/lug for more information