免費論壇 繁體 | 簡體
Sclub交友聊天~加入聊天室當版主
分享
Board logo

標題: 強制使用關鍵字當程式函數或變數 [打印本頁]

作者: mhfo    時間: 2014-10-13 12:01     標題: 強制使用關鍵字當程式函數或變數

Class yy
        Function [class]()
            Return 5
        End Function
End Class


須使用[ ] 圍起來...
如上class為關鍵字 因宣告時使用[ ]圍起來
所以能強制使用class為名稱




歡迎光臨 魚骨頭的雲端圖書館 (http://mhfo.hotbbs.info/) Powered by Discuz! 7.0.0