联系我们

与泰克代表实时聊天。 工作时间:上午 9:00 - 下午 5:00(太平洋标准时间)。

电话

致电我们

工作时间:上午9:00-下午5:00(太平洋标准时间)

下载

下载手册、产品技术资料、软件等:

下载类型
型号或关键字

反馈

How to clear a function without having to recycle power on the 2600B series.

问题:

How to clear a function without having to recycle power on the 2600B series.

答案:

The easiest way to delete a function is to set it equal to nil, e.g. myfunc = nil. You should then call the collectgarbage() function to free up the memory. Garbage collection will actually occur automatically, but it can take up to a few seconds to process.

You can call the function yourself to avoid unexpected delays caused by the automatic process. It is recommended that you review the information in the 2600B Series Reference Manual about the collectgarbage() function, and Lua memory management.


此常见问题适用于:

产品系列: 2606B 系列 SMU

产品:

常见问题 ID 729091

查看所有常见问题 »