Is this a Rev bug, or what am I missing?

Frank D. Engel, Jr. fde101 at fjrhome.net
Mon Aug 16 19:26:46 EDT 2004


Okay, the new version of the custom event handler is:

on makefold what
   if there is a folder what then
     log "Found existing installation folder " & what
   else
     create folder what
     if the result is empty then
       log "Installation folder " & what & " successfully created"
     else
       log "Error creating installation folder " & what & ": " & the 
result
     end if
   end if
end makefold


So.... now it works?

WHY!?!?!

Well, it does!

If the problem pops up again, i will try to get more detailed error 
reports and fill you all in.

Thank you!

On Aug 16, 2004, at 12:12, FlexibleLearning at aol.com wrote:

> log "Creating installation  folder " & what
> create folder  what
> if the result <>"" then log "Creating installation folder  err:" & the 
> result
>
> Let us know the outcome, Frank.
>
> ----- Original post -----
> How do I check that though?  Where are  errors in the "create folder"
> statement reported?
>
> Would "the result"  provide that?  The documentation does not seem 
> clear
> on this.
>
> I  suppose I could always check again (if there is a folder what then)
> after  the "create folder" statement, but if there is a result code, I
> would prefer  to use that.
>
> I will try this, I suppose, and see what I am getting back  as a 
> result.
> ----------
>
> /H
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



___________________________________________________________
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com



More information about the use-livecode mailing list