But I do get a syntax error with the J7 jconsole and your suggestion fixes
that.

On Fri, May 13, 2011 at 3:24 PM, Devon McCormick <[email protected]> wrote:

> On my system, either example starts an infinite loop, probably because of
> something in my profile:
>
> [2011-05-13 | 15:09:59.12 | C:\amisc\SP\CDOE\Windows\5.2Alpha4]
>
> >jconsole -js a=.23 b=.3 "echo a*b" exit
> jconsole -js a=.23 b=.3 "echo a*b" exit
>
> [2011-05-13 | 15:20:45.94 | C:\amisc\SP\CDOE\Windows\5.2Alpha4]
> >Rem * JConsole.bat: cover for J-console
>
> [2011-05-13 | 15:20:45.94 | C:\amisc\SP\CDOE\Windows\5.2Alpha4]
> >C:
>
> [2011-05-13 | 15:20:45.94 | C:\amisc\SP\CDOE\Windows\5.2Alpha4]
> >"C:\Program Files\j602\bin\jconsole.exe" -jijx \amisc\JSys\pprofile.ijs
> "C:\Program Files\j602\bin\jconsole.exe" -jijx \amisc\JSys\pprofile.ijs
> C:\Program Files\j602\system\main\sysenv.ijs
> C:\Program Files\j602\system\main\stdlib.ijs
> C:\Program Files\j602\system\main\colib.ijs
> C:\Program Files\j602\system\main\break.ijs
> C:\Program Files\j602\system\main\conlib.ijs
> C:\Program Files\j602\system\extras\util\jadecon.ijs
> C:\amisc\JSys\pprofile.ijs
> C:\Program Files\j602\system\main\sysenv.ijs
> C:\Program Files\j602\system\main\stdlib.ijs
> C:\Program Files\j602\system\main\colib.ijs
> C:\Program Files\j602\system\main\break.ijs
> C:\Program Files\j602\system\main\conlib.ijs
> C:\Program Files\j602\system\extras\util\jadecon.ijs
> C:\amisc\JSys\pprofile.ijs
> . . .
>
>
> On Fri, May 13, 2011 at 1:39 PM, David Ward Lambert <
> [email protected]> wrote:
>
>> Please change the manual a little bit.
>>
>> File cmdline.htm in the J user guide suggests:
>>
>>
>> Examples with -js:
>> jconsole -js a=.23 b=.3 "echo a*b"
>> jconsole -js a=.23 b=.3 "echo a*b" exit
>>
>>
>> I have a different idea, since the example causes a syntax error.
>> Change that third line to
>>
>> jconsole -js a=.23 b=.3 "echo a*b" "exit 0"
>>
>> Thank you, Dave.
>>
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
>
>
>
> --
> Devon McCormick, CFA
> ^me^ at acm.
> org is my
> preferred e-mail
>
>


-- 
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to