Re: Input Format

*To*: mathgroup at smc.vnet.net*Subject*: [mg81189] Re: Input Format*From*: "andre.robin3" <andre.robin3 at wanadoo.fr>*Date*: Sat, 15 Sep 2007 04:08:11 -0400 (EDT)*References*: <fcddht$omg$1@smc.vnet.net>

For this problem, I like this : \!\(\* RowBox[{ RowBox[{ RowBox[{"functionsList", "=", RowBox[{"First", " ", "/@", " ", GridBox[{ {"R"}, {"S"}, {"T"}, {"U"} }, GridFrame->True, RowLines->True, ColumnLines->True]}]}], ";"}], "\[IndentingNewLine]", \(Fold[#2[#1] &, data, functionsList]\)}]\) It's very usefull for my private use. But if you work with people who are not used to Mathematica, Fold[#2[#1],data,{R,S,T,U}] would probably be obscure. <roby.nowak at gmail.com> a écrit dans le message de news: fcddht$omg$1 at smc.vnet.net... > hello, > I prefer using a line by line postfix notation for sequential data > processing. > e.g. there is some data which has to be processed sequentialy by a > number of dataprocessing functions, if you input the whoole thing Mathematica > formats like this: > > data // > R // > S // > T // > U > > this is not very nice for my usage and results from the fact that Mathematica > generates \[IndentingNewLine] for every <RETURN> key pressed.. > > i would rather had it formatted like this (or similar): > > data // > R // > S // > T // > U > > i could enter > > data//\[NewLine]\[RawTab]R//\[NewLine]\[RawTab]S//\[NewLine]\ > [RawTab]T//\[NewLine]\[RawTab]U > > but this is not realy a pleasure. > is there a short way to key in \[NewLine] instead of \ > [IndentingNewLine] > > any suggestions ? > thx robert > >