From: dinesh t b <di...@se...> - 2005-05-12 11:58:40
|
Trying to post it again, as it did not show up From: "Jason E. Stewart" <ja...@op...> Sent: Monday, May 09, 2005 6:15 PM Subject: Re: init/cleanup/shared/ > "dinesh t b" <tbd...@se...> writes: > > > #macro pantotoparse($file){ > > > > this is the stuff that goes before the real parse > > > > #include as template $file > > > > and the clean up stuff after the parse > > > > } > > > > So we can use #pantotoparse("myfoo.wm") instead and we get what we want. > > > > However this does not compile as #include tries to expand immediately, > > and we cannot get the necessary "delay" that we want for the include. > > We should add that we're using the 2.0b of WebMacro. > > We tried using #eval with a #templet - but this too did not work - > the #include got executed at definition time, not at run time. Putting > the #include inside a string, inside the #eval didn't work either - > it never got executed - instead it just printed the string... > > Cheers, > jas. > -- This message was scanned for spam and viruses by BitDefender at www.consultplanet.com |