Re: print does two things
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: print does two things
- From: Michael Roth <mroth@...>
- Date: 2004年7月16日 14:00:32 +0200
Markus Huber wrote:
The follwoing line does two things:
myprint = print
1. does a real print
2. correct assignment of myprint
so it works but it prints too! And this is not allowed in my
circumstance. Thats why I would like to catch print.
Not confirmend. My lua does assign print to myprint only. All work
correctly. Nothing will printed by this statement:
$ lua -v
Lua 5.0.2 Copyright (C) 1994-2004 Tecgraf, PUC-Rio
$ echo "myprint = print" | lua -
$