lua-users home
lua-l archive

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


Sean and list

Ah - I suppose that was obvious really.  Thanks - it worked.

Now to add yet another a TB disk!


> It was thus said that the Great John Logsdon once stated:
>>
>> I have added:
>>
>> require "profiler"
>> start()
>>
>> ...
>>
>> stop()
>>
>> to the program but it can't find the start() function:
>>
>> lua5.1: procStream1.lua:11: attempt to call global 'start' (a nil value)
>> stack traceback:
>>         procStream1.lua:11: in main chunk
>>         [C]: ?
>>
>> which sugggests that it hasn't loaded anything at all.
>
>   Try using
>
> 	require "profiler"
> 	profiler.start()
> 	...
> 	profiler.stop()
>
>   -spc
>
>


Best wishes

John

John Logsdon
Quantex Research Ltd
+44 161 445 4951/+44 7717758675