Using variables with URL

Bojsza gbojsza at mac.com
Wed Mar 10 19:31:55 EST 2004


Thanks Hugh...it appears that parentheses play a key role.

Glen


On Wednesday, March 10, 2004, at 03:28 PM, FlexibleLearning at aol.com 
wrote:

> I suggest you check the actual variable confp your handler generates, 
> or
> assuming fld "test" contains "/opt/OopDev/oopc" you could simplify 
> to...
>
> put fld "test" into url ("file:" & fld "sPath")
> or
> put fld "test" into url ("binfile:" & fld "sPath")
>
> depending on what you want. Put the result to see where an error has 
> occured.
> You may also need to create the directories in the path if they are not
> already available.
>
> /H
>
>> I am trying to get a local variable to work with writing a file using
> URL...Linux platform
>>
>> on mouseUp
>> put quote & "file:" & fld "sPath" & "/oopc" & quote into confp -- this
>> creates "file:/opt/OopDev/oopc"
>> put fld "test" into URL confp
>> end mouseUp
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list