문제

my error is Compile error: expected =

msgbox (" Final Score:" & "P1score " & P1 & "P2score " & P2 & "P3score " & P3 & "P4score " & P4,vbOKOnly,"GameOver")

I was wondering how to fix this

도움이 되었습니까?

해결책

MsgBox is a function which return a value (MSDN).

If you don't care about the return value then:

Call MsgBox(.....)

If you do care then:

returnValue = MsgBox(.....)

You may need to define 'returnValue' first.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top