提供小吳 VBQA 包含VB6,VB 2003,VB 2005,VB 2008,VB 2010,2013,2015
,2019,VB.NET,Visual Studio,Visual Basic,程式設計,C#,ASP.NET , Windows From , SQL Server , Crystal Report,VBA,HTML,網頁設計,微軟,98,XP, API ,KB .
小弟不才,問個ByRef的問題..(編號:7200)
Sub Swap(ByRef FirStr As String, ByRef SecStr As String) TempStr = FirStr FirStr = SecStr SecStr = TempStr End Sub 以上程式碼執行完竟然沒有做交換 ? Call Swap(Me.Caption, Me.Tag) by Peter ^_^