[Date Index]
[Thread Index]
[Author Index]
What's up with Input?
*To*: mathgroup at smc.vnet.net
*Subject*: [mg7888] What's up with Input?
*From*: "Dr. Sergio Terrazas" <sterraza at campus.cdj.itesm.mx>
*Date*: Thu, 17 Jul 1997 15:35:49 -0400
*Sender*: owner-wri-mathgroup at wolfram.com
Hello!
What is up with Input in v 3.0?
I have several notebooks written in v 2.2 and they work fine
after converting them to v 3.0, except for the part where I
use the command Input to get input from the user. For example
f[x_]=Input["Input a function:"]
{a,b}=Input["Enter an interval in the form {a,b}:"]
sumadeRiemman[f,a,b]
where the last is a function I wrote and which works fine in 2.2
However, in 3.0 I get a lot of messages and the kernel hangs until I abort the
evaluation.
Below is a smal part of the messages I get. Can anyone help?
Thanks a lot
Sergio Terrazas
Set::"shape": "Lists \!\({a, b}\) and \!\(HoldComplete[\(SumasDeRiemann[\(f,
a, b, 2\)]\)]\) are not the same shape."
" "
Plot::"plln": "Limiting value \!\(a\) in \!\({x, a, b}\) is not a
machine-size real number."
Plot::"plln": "Limiting value \!\(a\) in \!\({x, a, b}\) is not a
machine-size real number."
Plot::"plln": "Limiting value \!\(a\) in \!\({x, a, b}\) is not a
machine-size real number."
General::"stop": "Further output of \!\(Plot :: \"plln\"\) will be
suppressed during this calculation."
$RecursionLimit::"reclim": "Recursion depth of \!\(256\) exceeded."
$RecursionLimit::"reclim": "Recursion depth of \!\(256\) exceeded."
$RecursionLimit::"reclim": "Recursion depth of \!\(256\) exceeded."
General::"stop": "Further output of \!\($RecursionLimit :: \"reclim\"\) will
be suppressed during this calculation."
"f[x]=
"\[InvisibleSpace]Hold[List[Hold[MakeBoxes[HoldComplete,StandardForm]],[,Hol
d[MakeBoxes[CompoundExpression[Set[List[a,b],Input[Introduce el intervalo en
la forma {a,b} :]],Print[
]],StandardForm]],Hold[MakeBoxes[SumasDeRiemann[f,a,b,2],StandardForm]],]]]
" "
"La suma de Riemann =
"\[InvisibleSpace]Hold[List[Hold[MakeBoxes[SymbolicSum`SymbolicSum,StandardF
orm]],[,Hold[MakeBoxes[Times[Plus[Times[-1,a],b],Power[n,-1],HoldComplete[Co
mpoundExpression[Set[List[a,b],Input[Introduce el intervalo en la forma
{a,b} :]],Print[
]],SumasDeRiemann[f,a,b,2]]],StandardForm]],Hold[MakeBoxes[List[k,1,n],Stand
ardForm]],]]]
Prev by Date:
**Re: Plot and evaluate help**
Next by Date:
**Re: Partial Derivatives**
Previous by thread:
**Re: Plot and evaluate help**
Next by thread:
**Programming with mathematica**
| |