lua-users home
lua-l archive

Re: lua scripts as string within another script

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


> On Nov 13, 2014, at 2:26 AM, Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br> wrote:
> 
>> I tried to have the strings as string.dump(load(scriptAsString)) but
>> that still has the text of the script
> 
> Try string.dump(load(scriptAsString,"=none"))
> 
Is this documented anywhere? .. I was unaware of this trick.
—Tim

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