Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

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



  • Prev by Date: Re: comments
  • Next by Date: Re: apparently I don't know how to use Map (or Apply or
  • Previous by thread: Re: simple question
  • Next by thread: MakeExpression problem