Hi Marco, I guess you run this as a shell command on a unix machine. $ is normally used for variables, so if you execute in from the shell directly, you might have to escape the dollar sign using \, i.e. it would be bin/basex -b\$v=example "declare variable \$v external; \$v" Cheers Dirk On 02/23/2015 04:44 PM, Marco Lettere wrote:
Hello all, I'm unable to execute the example from documentation:
bin/basex -b$v=example "declare variable $v external; $v"
IT gives this exception:
Stopped at ., 1/19: [XPST0003] Expecting '$', found 'e'.
Any clues? Regards, MArco.
-- Dirk Kirsten, BaseX GmbH, http://basexgmbh.de |-- Firmensitz: Blarerstrasse 56, 78462 Konstanz |-- Registergericht Freiburg, HRB: 708285, Geschäftsführer: | Dr. Christian Grün, Dr. Alexander Holupirek, Michael Seiferle `-- Phone: 0049 7531 28 28 676, Fax: 0049 7531 20 05 22