Using variables with URL

Bojsza gbojsza at mac.com
Wed Mar 10 14:20:16 EST 2004


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


I have also tried

on mouseUp
put quote & "file:" & fld "sPath" & "/oopc" & quote into confp -- this 
creates "file:/opt/OopDev/oopc"
put fld "test" into URL "confp" --only change from above
end mouseUp

Neither scripts create a file. I have tested with a fixed path and it 
works but I need to be able to have the application work with a 
variable.

Any suggestions?

thanks,

Glen



More information about the use-livecode mailing list