Ask dialog and write file to disc

Magnus von Brömsen webmaster at studioalice.se
Thu Jan 24 07:49:01 EST 2002


Many thanks!
Works great now. (I had missed "file" in Open & Close.)
>>
>> Looks like you're missing a line to finish the write command.  Try 
>> this:
>>
>> open file it
>> write field "totalOrder" to file it
>> close file it
>>
>> Regards,
>>
>> Scott Rossi
>> Creative Director

>
> you can have it even shorter ;-)
>
> on mouseUp
>     ask file "Save your order" with "Untitled.txt"
>     if it is empty then exit mouseUp
>     put field "totalOrder" into url ("file:" & it)  ## !!!
> end mouseUp
>
I'm new to Revolution (my first project). So, that combination 
of (" "&), is it replaced by the actual name of the file?.

/magnus


--------------------------------------------------------------------------------------------------
"Tiden går och Macen består"
--------------------------------------------------------------------------------------------------
Studio Alice
Magnus von Brömsen
0702-212 495
0322-633 833
www.studioalice.se




More information about the use-livecode mailing list