Dim hstr As String * 1
来源:百度知道 编辑:UC知道 时间:2024/05/08 00:59:41
请问各位高手这里面的"* 1"是什么意思啊?
新手上路,请多多指教,谢谢了!
新手上路,请多多指教,谢谢了!
因为VB6中没有char类型,所以常用固定长度为1的string来代替
Dim y As String * x 声明固定长度为 x 的字符串,* 1 就是楼上说的意思
1是指长度为1,也就是说hstr这个变量被定义成只能存放一个字符,如果存放了多个字符把第一个以外的字符甩掉
Dim hstr As String * 1
dim s as string
Dim i As Integer,j As Integer
Dim Number1 As Single, Number2 As Single, Result As Single
Dim rs As New ADODB.Recordset
Dim adorecordset As New ADODB.Recordset
VB中Dim workstation As workspace 是什么意思?
Dim rttitle As String * 256是什么意思
Dim a As Integer, b As Integer, c As Integer, aa As Integer, bb As Integer
用Dim as New生成label怎么绑定数据库呢