MathGroup Archive 2005

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

Search the Archive

Accessing unevaluated input line

  • To: mathgroup at smc.vnet.net
  • Subject: [mg62124] Accessing unevaluated input line
  • From: Sascha Kratky <notvalid at notvalid.com>
  • Date: Sat, 12 Nov 2005 03:31:24 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi!

How can I  access the nth input line expression unevaluated without
using InString?

I am driving the Mathematica kernel via J/Link by sending multiple
EnterExpressionPackets to the kernel. Later I want to access a
preceding input expression in its unevaluated form. Because expression
packets aren't strings the kernel does not seem to assign them to
InString[n] but only records them in In[n]. When calling In[n] later,
how can I prevent In[n] from re-evaluating  the input line and make it
return the input expression unevaluated?

Thanks,
Sascha


  • Prev by Date: Re: Integrate problem?
  • Next by Date: Re: feature request: invert plot axes
  • Previous by thread: Re: Defining variables in $UserBaseDirectory/init.m
  • Next by thread: Types in Mathematica