value of variable

Björnke von Gierke bvg at mac.com
Tue Sep 28 19:24:40 EDT 2004


why are you doing the 'put url ("file" & it) into field "f1"' part?

also try this for your replace line
do "replace" && quote & sFileType & quote && "with empty in field" && 
quote & "f1" & quote'

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 "a"
>     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"



More information about the use-livecode mailing list