revlet and path

Yves COPPE yvescoppe at skynet.be
Thu Aug 6 13:12:57 EDT 2009


Hi,

> For example, let's say my revlet is at:
>
>  http://devin.com/revlets/mystackpage.html
>
> It should be fairly simple to either derive the URL within the  
> revlet stack or to pass the URL as a parameter when launching the  
> revlet. (I haven't tried this myself yet, but I've seen others  
> describe here how to pass params.) Once your revlet stack has that  
> information, just have it do:
>
>  set the itemdelimiter to "/"
>  put item 1 to -2 of tURLreceivedAsParam & "/resources/myprefs.txt"  
> into tPrefsURL
>  put URL tPrefsURL into tMyPrefs
>  -- now do whatever you want with the prefs.
>
>


Hi Devin,

i don't understand

what is "tURLreceivedAsParam" ????



Greetings.

Yves COPPE
yvescoppe at skynet.be




More information about the use-livecode mailing list