lilypond-user
[Top][All Lists]
Advanced

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

Re: Variables as variables


From: Phil Holmes
Subject: Re: Variables as variables
Date: Mon, 20 Jan 2014 15:35:49 -0000

----- Original Message ----- From: "David Kastrup" <address@hidden>
To: "Johan Vromans" <address@hidden>
Cc: <address@hidden>
Sent: Monday, January 20, 2014 3:23 PM
Subject: Re: Variables as variables



That's not "like a real variable as known from other programming
language".  If I write

aaa = 3
bbb = aaa + 1
print ( bbb )
aaa = 5
print ( bbb )

I know of no programming language which will output 6 the second time
round.  You are not thinking of a variable, but of a parametric
procedure.

IIRC metafont does something of this sort.

--
Phil Holmes



reply via email to

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