guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Gurus? Care to re-explain the absense of gh_set_x() for me?


From: Sam Tregar
Subject: Re: Gurus? Care to re-explain the absense of gh_set_x() for me?
Date: Fri, 13 Jul 2001 10:40:30 -0400 (EDT)

On Fri, 13 Jul 2001, Thien-Thi Nguyen wrote:

> what's wrong w/:
>
>   SCM a;
>   a = scm_sum (a, SCM_INUM (10));

If something was pointing to a before the += then it is no longer pointing
to a since scm_sum will return a new SCM.  Consider a globally bound
variable or an item in a list.

-sam





reply via email to

[Prev in Thread] Current Thread [Next in Thread]