Simon, you said it all so well.

Is there any part of the system you built for CAE that I could refer to in
my article?


> All we are waiting for now is for Scott and his crew
> to implement a new *set directory* command which would allow all MC
> users to point to "http://www/amigo-3.com/discreet/images/" rather
> than to "data/images/story.gif" (the URL actually being the one you
> want, not mine:^).

Would this get you through the day (tucking it into a backscript
somewhere)?:

  on SetiDir pPath
      global gInternetDirectory
      put pPath into gInternetDirectory
  end SetiDir


  function iDir
    global gInternetDirectory
    return gInternetDirectory
  end iDir


You could call it like this:

   SetiDir "http://www.fourthworld.com/images/"
   get URL iDir()&"myimage.gif"


It should also work for local dirs as well, so with only a minor
inconvenience in syntax you would have the flexibility you're after, yes?.

It just occured to me that you could save a few chars each time you use it
by changing the iDir function:

  function iDir  pPath
     global gInternetDirectory
     return gInternetDirectory & pPath
   end iDir

The simpler calling syntax would be:

  get URL iDir("myImage.gif")


-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Multimedia Design and Development for Mac, Windows, UNIX, and the Web
 _____________________________________________________________________
 [EMAIL PROTECTED]                 http://www.FourthWorld.com
 Tel: 323-225-3717           ICQ#60248349            Fax: 323-225-0716



Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to