大家帮忙,C#中的这行代码,在VB里面,如何转换?C#:intiRet0if(iRet!0x90){MessageBox.Show( SDT_OpenPor
大家帮忙,C#中的这行代码,在VB里面,如何转换?
C#:
int iRet = 0;
if (iRet != 0x90)
{
MessageBox.Show( "SDT_OpenPort error, error code is: % 02x ", iRet.ToString());
if (iIfOpen == 0)
Globals.SDT_ClosePort(iPort);
return;
}
请问iRet != 0x90,这句我在VB中应该怎么转换?
[解决办法]
应该这样写:
iRet <> Val( "&H90 ")
