Fun with answer and files()

Klaus major-k klaus at major-k.de
Tue Jan 15 15:49:45 CET 2019


Hi Paul,

> Am 15.01.2019 um 15:15 schrieb Paul Dupuis via use-livecode <use-livecode at lists.runrev.com>:
> 
> On 1/15/2019 8:02 AM, Klaus major-k via use-livecode wrote:
>> put specialfolderpath("desktop") into tFolder
>> answer files(tFolder)
> I would say this is a parser bug and should probably be reported

thanks for the advice, done:
<https://quality.livecode.com/show_bug.cgi?id=21795>

> the fact that 'answer files(..." gets parsed as the command 'answer files <prompt> ..." is poor syntax parsing.
> 
> If you had a space between 'files' and the open paren, I can understand the issue, but any symbol connected immediately to a right paren should be evaluated as a function.

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major-k.de




More information about the use-livecode mailing list