value of variable

Hershel Fisch hershrev at realtorsgroup.us
Tue Sep 28 20:18:00 EDT 2004


On Tuesday, September 28, 2004, at 07:24 PM, Björnke von Gierke wrote:

> why are you doing the 'put url ("file" & it) into field "f1"' part?
What else should do ? (actually I should of put "answer file empty" 
instead of "a".) I need the file path to locate a path and use the path.
>
> also try this for your replace line
> do "replace" && quote & sFileType & quote && "with empty in field" && 
> quote & "f1" & quote'
Doesn't work.
>
> watch for linewraps!
>
> On Sep 29 2004, at 00:42, Hershel Fisch wrote:
>
>>
>> On Tuesday, September 28, 2004, at 06:25 PM, Devin Asay wrote:
>>
>>> I think it's because you put the string "tab" into the variable 
>>> instead of the constant tab (ASCII 9). Does it work if you use
>>>
>>> put tab into myVar
>>>
>>> ?
>> Yes, Thanks . But
>> on mouseUp
>>   answer "What kink of file are you putting ?" with "Tab Delimited" 
>> and "Comma Delimited" and "Cancel"--and on
>>   put word 1 of it into sFileType
>>   if sFileType is "cancel" then
>>     exit mouseUp
>>   else
>>     answer file empty
>>     put it  into fld "f1"
>>     do " put URL" & quote & "file:"& it & quote &" "&"into fld" &" "& 
>> quote & "f1" & quote
>>     replace sFileType with "'" in fld "f1"
>>   end if
>> end mouseUp
>> how would I do this ?
>> Hershel
>>
>>>
>>> Otherwise, why not just use
>>>
>>> replace tab with comma in fld 1
>>>
>>> Devin
>>>
>>> On Sep 28, 2004, at 3:25 PM, Hershel Fisch wrote:
>>>
>>>> Hi all I'm trying to figure out how the value of var is used ?
>>>> e.g.
>>>> put "tab" into myVar
>>>> replace myVar with "," in fld 1
>>>>
>>>> wouldn't work , why ?
>>>> Hershel
>>>>
>>>> _______________________________________________
>>>> use-revolution mailing list
>>>> use-revolution at lists.runrev.com
>>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>>>
>>>>
>>> Devin Asay
>>> Humanities Technology and Research Support Center
>>> Brigham Young University
>>>
>>> _______________________________________________
>>> use-revolution mailing list
>>> use-revolution at lists.runrev.com
>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>>
>>
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>>
> <>()<>()<>()<>()<>()<>()<>()<>()<>()<>()<>
> Chat with other RunRev developers:
> go stack URL "http://homepage.mac.com/bvg/chatrev1.2.rev"
>
> _______________________________________________
> 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