value of variable
Klaus Major
klaus at major-k.de
Wed Sep 29 08:32:25 EDT 2004
Hi Hershel,
>
> 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 ?
...
replace value(sFileType) with "'" in fld 1
...
Tested and works :-)
> Hershel
Best
Klaus Major
klaus at major-k.de
http://www.major-k.de
More information about the use-livecode
mailing list