|
From: | Phil Holmes |
Subject: | Re: Variables as variables |
Date: | Mon, 20 Jan 2014 15:35:49 -0000 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |