Page 1 of 1

missing ',' near "Comma Separated Values|csv|CSV"

Posted: Fri Jan 15, 2021 11:01 pm
by liveme
Hi,
copied this code from Complete Lessons Book : Pg 308.

Code: Select all

...
answer file "Please choose a file to import"
with type "Comma Separated Values|csv|CSV"
if the result is not "cancel" t
...
Debugger returns an red Cross error on this specific line :
with type "Comma Separated Values|csv|CSV"
Commands : missing ',' near "Comma Separated Values|csv|CSV", Char 9.

Tried adding a comma, ..counted 9 chars...(???)...no sucess I dont know how to solve it.

any clue ? :shock:
Thanks

Re: missing ',' near "Comma Separated Values|csv|CSV"

Posted: Fri Jan 15, 2021 11:10 pm
by liveme
[SOLVED]
Ok, got it,
the error cames from the code being past onto several lines...

I gathered each line corresponding code into its line and error went off !
:idea: