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

MathGroup Archive 1999

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

Search the Archive

Re: Subscript Variable

  • To: mathgroup at smc.vnet.net
  • Subject: [mg20302] Re: Subscript Variable
  • From: William Golz <wgolz at attglobal.net>
  • Date: Tue, 12 Oct 1999 03:39:36 -0400
  • Organization: Global Network Services - Remote Access Mail & News Services
  • References: <7tcanr$m5f@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Jack,

I have had a similar problem, but have not found a workaround. Subscripted
variables in 3.0 exhibit some very unexpected behavior. You can, however,
define them as f1, f2, where the numerals are not subscripts.

CORNIL Jack Michel wrote:

> Hello,
>
> I have a problem about subscript variables.
>
> First Question :
>
> If I use a variable named Subscript[x,1] ,
> (typed in with Ctrl _)
>
> I can affect a value to this variable, get value of expressions
> involving this variable, clear this variable with . but not with Clear[]
> !
>
> This variable is not given when I ask Names["x*"] and I cannot get
> information on it with ?.
>
> Second Question :
>
> If I use such a variable in order to define a function with
>   f1[x_]=x^2+1
> I cannot clear the variable with f1=.
> (of course, just above f1 means Subscript[f,1])
>
> Thanks a lot for any help
>
> J.Michel CORNIL



  • Prev by Date: Re: Vector plot in cylindrical coordinates.
  • Next by Date: add to wishlist
  • Previous by thread: Subscript Variable
  • Next by thread: Re: Subscript Variable