與我們聯絡

與 Tek 業務代表即時對談。 上班時間:上午 6:00 - 下午 4:30 (太平洋時間)

致電

請致電

與 Tek 業務代表即時對談。 上班時間:上午 8:30 - 下午 5:30 (太平洋時間)

下載

下載手冊、產品規格表、軟體等等:

下載類型
機型或關鍵字

意見回饋

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

檢視所有常見問答集 »