社区
VB基础类
帖子详情
请大家帮忙看看下面这几段代码的意思
lion123
2003-01-06 02:33:15
dim pos%,length%,head$
pos=instr(data,vbcrlf&vbcrlf)
length=len(data)
head=left(data,pos-1)
data=right(data,length-pos-3)
上面第一行定义变量 dim pos%,length%,head$
为什么会加上%,%,$这些符号,这些符号代表什么意思。
可不可以不加这些符号。请指教,谢谢
...全文
64
5
打赏
收藏
请大家帮忙看看下面这几段代码的意思
dim pos%,length%,head$ pos=instr(data,vbcrlf&vbcrlf) length=len(data) head=left(data,pos-1) data=right(data,length-pos-3) 上面第一行定义变量 dim pos%,length%,head$ 为什么会加上%,%,$这些符号,这些符号代表什么意思。 可不可以不加这些符号。请指教,谢谢
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
5 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
qdxby
2003-01-06
打赏
举报
回复
up
feixuehenshui
2003-01-06
打赏
举报
回复
同意然也说法
Xueran
2003-01-06
打赏
举报
回复
%就是整型integer
$就是字符串型string
可以让你少打点字
在qbasic时代就已经有了。
Sean918
2003-01-06
打赏
举报
回复
数据类型 类型后缀
Integer %
Long &
Single !
Double #
Currency @
String $
这些是早版本的 VB 中使用的变量定义方法,现在不大用了
lax
2003-01-06
打赏
举报
回复
Dim pos As Integer, length As Integer
Dim head As String
下面
是
几段
C#发送邮件相关的
代码
,我也懒得说明了,就这么个意思。
mailObj.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1"); mailObj.Fields.Add("http://schemas.microsoft.com/cdo/configuration/senduserna
R语言 改变数据帧 和 函数的用法
几段
代码
R语言 改变数据帧的行和列 #在数据帧中加入行和列 #可以使用cbind()函数连接多个向量来创建数据帧。 #此外,可以使用rbind()函数合并两个数据帧。 city <- c("Tampa","Seattle","Hartford","Denver") state <- c("FL","WA","CT","CO") zipcode <- c(33602,98104,0616...
python中各个
代码
的意思_python 这
几段
代码
到底是什么意思?(短
代码
) 小弟在学习中...
1、ascii_char = list("$@B%8&WM#*oahkbdpqwmZO0QLCJUYXzcvunxrjft/\|()1{}[]?-_+~<>i!lI;:,\"^`'. ")def get_char(r,b,g,alpha = 256):if alpha == 0:return ' 'length = len(ascii_char)gray = int(0.212...
简单
几段
代码
实现窗口抖动
相关的连接: iphone4抖动效果源码http://www.eoeandroid.com/thread-187928-1-1.html Android 控件抖动的效果http://www.eoeandroid.com/thread-205557-1-1.html android 仿IPHONE桌面图标抖动http://www.eoeandroid.com/thread-231330-1-1
python什么意思g_python 这
几段
代码
到底是什么意思?(短
代码
) 小弟在学习中
1、ascii_char=list("$@B%8&WM#*oahkbdpqwmZO0QLCJUYXzcvunxrjft/\|()1{}[]?-_+~i!lI;:,\"^`'.")defget_char(r,b,g,alpha=256):ifalpha==0:return''length=len(ascii_char)gray=int...1、ascii_char = list("$@B%8&WM#...
VB基础类
7,788
社区成员
197,583
社区内容
发帖
与我相关
我的任务
VB基础类
VB 基础类
复制链接
扫一扫
分享
社区描述
VB 基础类
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章