How to disable the -- comment
How to disable the -- comment
- Subject: How to disable the -- comment
- From: Vittorio <email@hidden>
- Date: Tue, 23 Mar 2010 12:50:39 +0100
To execute a shell command I need to enter options of the shell command as strings wit a "--" prefix as in
set resultText to psqlCommand & space & DatabaseName & space & "--no-align --tuples-only -R '\\\' -F ';'" & space & "--command " & (quoted form of sqlCommand)
Now, I'm incurring in an AS error because the -- string is dealt with like a comment therefore the set command, according to AS is like this
resultText to psqlCommand & space & DatabaseName & space & "
How can I tell AS not to interpret -- as a comment?
Ciao Vittorio |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden