lua-users home
lua-l archive

Re: do you use the pre-processor?

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 2000年5月10日, John Batty wrote:
> I mainly use the preprocessor to easily add/remove large blocks of code
> (using "$if nil"), which is particularly useful when prototyping / 
> experimenting / temporarily removing lines.
> 
> It would be a real pain to have to comment out each line individually.
> 
> If you could come up with an alternative way of doing this, I wouldn't
> otherwise miss the preprocessing abilities...
How about starting it with "comment = [[" and ending with "]]". That's
what I usually do...
F

AltStyle によって変換されたページ (->オリジナル) /