Subj : Baja problem To : TOMMYKNOCKER From : Spiritwild Date : Thu Jan 14 1999 12:58 pm TO>RE: Baja problem TO>BY: Hkb to All on Tue Jan 12 1999 02:33 pm TO> > !include sbbsdefs.inc TO> > INT I TO> > RANDOM I 2 TO> > SWITCH I TO> > CASE 0 TO> > printfile "c:\\sbbs\\text\\logoff.asc" TO> > hangup TO> > end_case TO> > TO> > CASE 1 TO> > printfile "c:\\logoff2.asc" TO> > hangup TO> > end_case TO> > TO> > CASE 2 TO> > printfile "c:\\logoff2.asc" TO> > hangup TO> > end_case TO> end_switch TO> > Ok well everytime I try to run this is locks up my computer and I have to TO> First off I made the mod a little more readable. Breaking it up into TO>seperate command sequences helps follow the code. Not really necessary for TO>something this simple, but you should not start bad habits. TO> As for your problem, you did not end_switch, so the mod would continue TO>looking for more switches, or the end. TO> °°±±²²ÑímmæKní€kîr²²±±°° True :) but doesn't the end_case prevent it from falling through ? Like it matters, your gonna get tossed out via "hangup" --- þ SLMR 2.1a þ Ted Nugent for president !!! þ Synchronet þ SPIRIT OF THE WILD BBS .