COMMAND

6 views
Skip to first unread message

tomh

unread,
Nov 15, 2010, 6:23:12 AM11/15/10
to Exodus Users
On the latest version, 10.10.12, COMMAND no longer works. I have tried
several variations, no joy. If the supplied programs ( which use
COMMAND ) are recompiled, they no longer work either.

Thanks,
Tom H

Error:

C:\Program Files\Exodus\10.10\bin>testcommand something anything
MVException:MVUndefined:var in const var& var::put(std::ostream&
ostream1) const


testcommand.cpp:15: programexit()
MVUndefined:var in const var& var::put(std::ostream& ostream1) const
Aborting. Press Enter
0

Sample program:

#include <exodus/program.h>

// program to test "COMMAND"

programinit()

function main() {

printl(COMMAND);

return 0;
}

programexit()

Ashley Chapman

unread,
Nov 15, 2010, 7:56:45 AM11/15/10
to exodus...@googlegroups.com
What's COMMAND supposed to do?  I'm familiar with @COMMAND, but not without the @ symbol.

Ash


tomh

unread,
Nov 15, 2010, 9:44:33 AM11/15/10
to Exodus Users
Same thing. COMMAND = @COMMAND.

A nice difference is that it comes back with the spaces already
converted to attribute marks.

On Nov 15, 7:56 am, Ashley Chapman <ashley.chap...@billabong-

Steve Bush

unread,
Nov 15, 2010, 11:15:07 AM11/15/10
to exodus...@googlegroups.com
roughly speaking, it should work like this. I havent documented it yet and am totally open to suggestions because the PC/UNIX shell seriously messes with the command line and strips out quotes so I havent finalised a strategy to deal with it.

SENTENCE is the whole thing as parsed by the shell with spaces reinserted

COMMAND is SENTENCE with and () or {} options at the end stripped off

OPTIONS is any letters in () or {} at the end of SENTENCE

--
You received this message because you are subscribed to the Google Groups "Exodus Users" group.
To post to this group, send email to exodus...@googlegroups.com.
To unsubscribe from this group, send email to exodus-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/exodus-users?hl=en.


Steve Bush

unread,
Nov 15, 2010, 12:53:47 PM11/15/10
to exodus...@googlegroups.com
COMMAND and listindexes are fixed in v 10.10.13 just uploaded exe
Sorry for the trouble. They are both in the regression tester now too.

Ashley Chapman

unread,
Nov 15, 2010, 1:02:37 PM11/15/10
to exodus...@googlegroups.com
Regresion tester?  Are you mad?  That's not the multivalue way! :-)
--
Ashley Chapman

Steve Bush

unread,
Nov 15, 2010, 2:00:44 PM11/15/10
to exodus...@googlegroups.com
LOL INDEED!  and using a regression tester *does* make me feel vaguely humilated but the denizens of this new world swear by them so I have to swallow my pride and adapt!
Reply all
Reply to author
Forward
0 new messages