Re: simple question
- To: mathgroup at smc.vnet.net
- Subject: [mg77338] Re: simple question
- From: dimitris <dimmechan at yahoo.com>
- Date: Thu, 7 Jun 2007 03:41:32 -0400 (EDT)
- References: <f3u511$3ae$1@smc.vnet.net>
For the responses I got, I realize that I should have titled "hard question" this thread! Cheers Dimitris / dimitris : > Hi. > > I have a simple question but I can't find any relevant. > Suppose a user-defined function with comments [that is (*...*) > structures] > added. > > Let for example > > \!\(Nint[g_ (*function*) , n_Integer, {x_, a_, b_} (* > the\ variable\ and\ the\ limits\ > of\ integration*) , opts___ (*set\ possible\ options\ for\ \ > NIntegrate*) ] := NIntegrate[Evaluate[g\^Range[n]], {x, a, b}, opts]\) > > The code has been copy/paste in StandardForm. > Let me convert it to InputForm. After selecting the cell > and press Shift+Ctrl+I, I get > > In[1]:= > Nint[g_, n_Integer, {x_, a_, b_}, opts___] := > NIntegrate[Evaluate[g^Range[n]], {x, a, b}, opts] > > That is, the comments during the conversion have been lost. > > Any ideas to "fix" this situation? > > Dimitris