아무 단어나 입력하세요!

"comment out" in Chinese (Traditional)

註解掉

Definition

把一行或一段程式碼改為註解,使其不再執行,但仍然保留在程式中。程式設計師常用此方法來測試或說明程式碼部分。

Usage Notes (Chinese (Traditional))

僅用於程式設計。常用說法如“註解掉一行/一段程式碼”。不要與加說明註解混淆,'comment out'是指讓程式碼暫時失效。

Examples

If you want to test the code, just comment out this line.

如果你想測試程式碼,只要**註解掉**這一行。

You should comment out any function you are not using.

你應該**註解掉**沒有用到的函式。

Remember to comment out the debug statements before release.

發佈前記得**註解掉**除錯語句。

Go ahead and comment out the part that's causing errors so we can troubleshoot.

把出錯的部分**註解掉**,這樣我們好查問題。

I usually comment out a block when I'm experimenting with new features.

我嘗試新功能時,通常會把一段程式碼**註解掉**。

You don’t have to delete it—just comment out that line for now.

你不用刪掉,現在只要**註解掉**那一行。