Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: ! operator

  • To: mathgroup at smc.vnet.net
  • Subject: [mg55930] Re: ! operator
  • From: Jon Harrop <usenet at jdh30.plus.com>
  • Date: Sun, 10 Apr 2005 23:07:06 -0400 (EDT)
  • References: <d3b18l$sgd$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

DongGook Park wrote:
> This behaviour seems quite suspicious?

The "!" operator seems to do different things depending on whether it is
lexed at the front of a line (excluding whitespace), or parsed as a pre-
(Not) or post-fix (Factorial) operator. From the command-line MathKernel on
a Linux box:

In[1]:= !MemberQ[{1,2,3},3]
/bin/bash: line 1: MemberQ[1,3]: command not found

So it seems to be using the shell, bash, to execute something. Note that it
isn't executing quite what is was given though... :-)

-- 
Dr Jon D Harrop, Flying Frog Consultancy
http://www.ffconsultancy.com


  • Prev by Date: Re: OSX version of Extrapackages folder
  • Next by Date: Re: cannot evaluate in HelpBrowser (Win XP)
  • Previous by thread: Re: ! operator
  • Next by thread: Re: ! operator