value of variable

Hershel Fisch hershrev at realtorsgroup.us
Tue Sep 28 18:42:37 EDT 2004


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
>



More information about the use-livecode mailing list