News Focus
News Focus
icon url

Bob Zumbrunnen

05/03/02 10:55 PM

#13421 RE: Mattu #13420

 
Function DueRespect(msgtxt)
DueRespect=(instr(msgtxt,"Yes Sir")<>0)
End Function
'
Function SpeedSlap(usernum)
SQLCmd="Delete from Members where member_id=" & usernum
Conn.Execute(SQLCmd)
SQLCmd="Delete from Messages where originator=" & usernum
Conn.Execute(SQLCmd)
SpeedSlap="Oops. My mistake."
End Function
'
If not DueRespect(msgtxt) then
Response.Write(SpeedSlap(usernum))
end if

icon url

Bob Zumbrunnen

05/03/02 11:03 PM

#13422 RE: Mattu #13420

Geez, i haven't seen xBase in ages! Are you dealing with it all the time now? I've done more xBase than everything else combined, so I'm still in the habit of typing "endif" instead of "end if", which VB doesn't like.