[單項(xiàng)選擇題] 在工程中的標(biāo)準(zhǔn)模塊中定義了如下數(shù)據(jù)類(lèi)型: Type fruitorange As Integerapple As Integer End T
[單項(xiàng)選擇題] 在工程中的標(biāo)準(zhǔn)模塊中定義了如下數(shù)據(jù)類(lèi)型: Type fruitorange As Integerapple As Integer End Type 在窗體上有—命令按鈕Command1,要求當(dāng)單擊命令按鈕時(shí)在C:根目錄下的順序文件myfrtac.txt 中寫(xiě)入一條記錄,下列能夠完成改操作的事件過(guò)程是______ 。
A.Private Sub Command1_Click() Dim myfrt As fruit myfr orange = 5 myfr apple = 10 Open “c:myfrt txt” For Output As #1 Print #1, myfr orange; myfr apple Close #1 End Sub
B.Private Sub Command1_Click() Dim myfrt As fruit myfr orange= 5 myfr apple= 10 Open “c:myfrta txt”For Input As #1 Print #1, myfrt, orange; myfr apple Close #1 End Sub
C.Private Sub Command1_Click() Dim myfrt As fruit myfr orange= 5 myfr apple = 10 Open “c:myfrta txt” For As #1 Print #1, myfr orange; myfr apple Close #1 End Sub
D.Private Sub Command1_Click() Dim myfrt As fruit myfr orange = 5 myfr apple= 10 Open “c:myfrta.txt” For Output As #1 Print myfr orange; myfr apple Close #1 End Sub
正確答案:A
詞條內(nèi)容僅供參考,如果您需要解決具體問(wèn)題
(尤其在法律、醫(yī)學(xué)等領(lǐng)域),建議您咨詢相關(guān)領(lǐng)域?qū)I(yè)人士。