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