Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1717149
  • 博文数量: 171
  • 博客积分: 11553
  • 博客等级: 上将
  • 技术积分: 3986
  • 用 户 组: 普通用户
  • 注册时间: 2006-05-25 20:28
文章分类

全部博文(171)

文章存档

2012年(2)

2011年(70)

2010年(9)

2009年(14)

2008年(76)

分类:

2008-05-10 19:04:02

文件:Hello.zip
大小:0KB
下载:下载

'***********************************************************
'VBScript变量命名编码规范
'Subtype         Prefix     Example
'Boolean         bln         blnFound
'Byte         byt         bytRasterData
'Date (Time)     dtm         dtmStart
'Double         dbl         dblTolerance
'Error err         err        OrderNum
'Integer         int         intQuantity
'Long         lng         lngDistance
'Object         obj         objCurrent
'Single         sng         sngAverage
'String         str         strFirstName
'*************************************************************
'1.第一个脚本
'第一个VBSciprt程序,在屏幕上打印hello VBScript
'使用文本编辑器,输出下面的内容,保存文件名称为hello.vbs
'运行脚本cscript.exe hello.vbs
Wscript.echo "hello VBScript"

'2.数据类型
'使用布尔类型
dim blnBool
blnBool = True
If blnBool = True then
  Wscript.echo "True"
else
  Wscript.echo "False"
End If


阅读(1935) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~