realbasic-nug
[Top] [All Lists]

Is this a bug?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Is this a bug?
From: Thom McGrath <lists at thezaz dot com>
Date: Fri, 31 Aug 2007 22:57:35 -0400
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Either I'm crazy, or this should work:

   select case httpstatus
   case 200
     AutoUpdateController.Install(file)
   case 301 or 302 or 303 or 307
     me.get(headers.value("Location"),file)
     system.debuglog("AutoUpdateSocket Redirect: " + headers.value 
("Location"))
   end

When httpstatus is 302, this syntax skips right over it. Is this a  
bug with the select structure, or with my logic.

Note: Do not criticize my lack of error checking and such, I'm still  
in the preliminary stages.

--
Thom McGrath
The ZAZ Studios
<http://www.thezaz.com/> AIM: thezazstudios


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>