Stupid Q number 1000

RM richmondmathewson at gmail.com
Fri May 20 14:32:35 EDT 2016


That WAS a bit goofy of me. Thanks.

Richmond.

On 20.05.2016 18:23, Klaus major-k wrote:
> Hi Richmond,
>
>> Am 20.05.2016 um 17:17 schrieb RM <richmondmathewson at gmail.com>:
>>
>> I wonder why this script doesn't work in LC 8.0.1:
>>
>> on mouseUp
>>    ask file "Choose where you wish to save your stack"
>>   if the result = "cancel"
>>   then exit mouseUp
>>   else
>>      save stack "New Stack"
>>      end if
>> end mouseUp
> for the same reason this will not work in earlier version:
> It is missing the „point"! :-D
>
> This works, spot the difference:
> on mouseUp
>    ask file "Choose where you wish to save your stack"
>    if the result = "cancel" then
>      exit mouseUp
>    else
>      set the filename of stack "New Stack" to it
>      save stack "New Stack"
>   end if
> end mouseUp
>
>> Richmond.
> Best
>
> Klaus
>
> --
> Klaus Major
> http://www.major-k.de
> klaus at major-k.de
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list