Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #4012

Re: work the way I want it to.

From "Christoph Lhotka" <christoph.lhotka@univie.ac.at>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: work the way I want it to.
Date 2011-07-27 10:23 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j0oouk$ktt$1@smc.vnet.net> (permalink)

Show all headers | View raw


hello,

if you enter 45,65,56 into the input dialog it is converted to a rowbox,
if you enter it as 45 65 56 it is assumed to be the expression 45*65*56,
finally if you enter it as {45,65,56} it will be seen as a list of numbers.

think of typing it directly into your notebook...it is the usual notation

best,

christoph

On 26/07/2011 13:06, JonSilverman wrote:
> When prompted for an input by Input[], I want to input a list of
> numbers. But when i try to enter more than one number I get something
> like this:
>
> RowBox[{"45", ",", "65", ",", "56"}]
>
>
> What is that?
>
> If I added spaces then the space got automatically turned into a
> multiplication sign!
>
> How can I enter a list at the input prompt?


Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: work the way I want it to. "Christoph Lhotka" <christoph.lhotka@univie.ac.at> - 2011-07-27 10:23 +0000

csiph-web