On Tue, 9 Apr 2019 at 10:45, David Kastrup <[email protected]> wrote:

> Gianmaria Lari <[email protected]> writes:
>
> > Suppose I write
> >
> >
> > #(define x '(1 2 3))
> >
> >
> > is there any way in scheme to print the memory address where x is
> pointing
> > to? (where is allocated the first element of the list)
>
> What do you need it for?  If it is for identification, (hashq x
> 1000000000) should usually do a reasonably good job.
>

I tried, it looks working. (Yes, it's for identification)

And is there any way to print the memory address of x? (If I remember
correctly was something like &x in c++).

Thank you, g.
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to