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

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
liveme
Posts: 240
Joined: Thu Aug 27, 2015 5:22 pm

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

Post by liveme » Fri Jan 15, 2021 11:01 pm

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

liveme
Posts: 240
Joined: Thu Aug 27, 2015 5:22 pm

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

Post by liveme » Fri Jan 15, 2021 11:10 pm

[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:

Post Reply