tags:

views:

59

answers:

1

define(foo,0000)
foo
0000
undefine('foo')
foo
0000


thanks.
jcyang.

+8  A: 

You have to quote foo with a backtick in front and a single-quote after in order to undefine it. Otherwise, it winds up substituted and you undefine 0000. So:

undefine(`foo')
chaos
Thanks,it works.It is very strange => one backtick one side,one single-quote on the other side.I thought the two side were both single-quote...
Jichao
Yeah, it's certainly bizarre, but that's m4 for you.
chaos