Fun with answer and files()

Paul Dupuis paul at researchware.com
Tue Jan 15 15:15:06 CET 2019


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

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.



More information about the use-livecode mailing list