VB 求下列易语言的方法相当于VB的什么方法?回答1个后追10分
1个回答

1,获取系统已经运行时间:

'//API声明:

Declare Function GetTickCount Lib "kernel32" Alias "GetTickCount" () As Long

'//用法:

dim tmpT as long

tmpt=gettickcount '//返回值即是系统已运行的时间(毫秒)

2,绝对取整:fix(-7.8)

3,s=iif(x>1,1,0) '//如果x>1 ,s=1,否则 s=0