Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: Redirecting input

  • To: mathgroup at smc.vnet.net
  • Subject: [mg92318] Re: Redirecting input
  • From: Norbert Marxer <marxer at mec.li>
  • Date: Sat, 27 Sep 2008 22:19:42 -0400 (EDT)
  • References: <gbl2vp$m00$1@smc.vnet.net>

Hello

You can define

     $Pre = (f[#]) &

and then use

     2 Shift Enter

Best Regards
Norbert Marxer


On 27 Sep., 12:47, Ignacio Plazeta <Ignacio.Plaz... at speednet.es>
wrote:
> Dear Friends
>
> Let, as an example,
>
>    f[x_] := x + 1
>
> be a function I have to calculate over and over again;
> it would result useful redirecting input to avoid
> typing
>
> f[2] Enter
> f[67] Enter
> f[31] Enter
> ...
>
> and simply make use of
>
> 2 Enter
> 67 Enter
> 31 Enter
> ...
>
> Plese, can you point out a trick to perform it ?
>
> Best Regard
>
> Ignacio Plazeta



  • Prev by Date: Re: Open DumpSave in new context?
  • Next by Date: Re: Redirecting input
  • Previous by thread: Re: Redirecting input
  • Next by thread: Re: Redirecting input