Skip to content
Tcl Source Code View Ticket
Login

View Ticket

TIP 282

Open1969722fffffffffffffffffffffffffffffffffCreated 19 years agoUpdated 19 years ago
Descriptionplain2008-05-22 16:22:33
Here's a patch implementing
the easy part of TIP 282.
dgpplain2008-05-22 23:22:35
File Added - 278690: tip282.patch
dgpplain2008-05-23 03:40:53
File Added - 278722: tip282-2.patch

Logged In: YES 
user_id=80530
Originator: YES


Patch version 2 adds a
simple-minded first pass
at an assignment operator.
It functions, but doesn't yet
have the kind of parser support
for the left operand that the
TIP suggests.

File Added: tip282-2.patch
dgpplain2008-05-23 03:48:00
Logged In: YES 
user_id=80530
Originator: YES


Example usage so far:

% expr {
"a(1)" = 1;
"a(2)" = $a(1) + 2;
"a(3)" = $a(2) * 3
}
9
% parray a
a(1) = 1
a(2) = 3
a(3) = 9
Log in (anonymous is fine) to add a comment.

Attachments: