I would like to say that the 2nd use of the function *var* should erase the
settings of the 1st one.


*Christophe BAL*
*Enseignant de mathématiques en Lycée **et développeur Python amateur*
*---*
*French math teacher in a "Lycée" **and **Python **amateur developer*

2015-01-30 7:25 GMT+01:00 Christophe Bal <projet...@gmail.com>:

> I also think that the 2nd use if var should erase the 2nd.
> Le 30 janv. 2015 07:17, "Vegard Lima" <vegard.l...@gmail.com> a écrit :
>
> On Thu, Jan 29, 2015 at 11:55 PM, William Stein <wst...@gmail.com> wrote:
> > This is because Python is a *dynamically* typed language.    Thinking
> > that doing something like
> >
> >     a = var('a',domain='real')
> >
> > would have any impact on what
> >
> >     a = BLAH
> >
> > means would only make sense in a statically typed programming
> > language, such as C++ or Java.
>
> But I think that was my point...
>
> If you do something like this
>
> sage: a = var('a',latex_name='BLAH')
>
> and then
>
> sage: a = var('a')
>
> sage: latex(a)
> BLAH
>
> So the first a=var(...) did have an impact on the second one, no?
>
>
> Cheers,
> --
> Vegard
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-support+unsubscr...@googlegroups.com.
> To post to this group, send email to sage-support@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to