标签:图片 filename var 实现 字符 bsp bmp 取图 tuple
1.将字符转换为数字
tuple_number (StringImageIndex,IntImageIndex)
2.将数字转换为字符
tuple_string (IntImageIndex, ‘0‘, StringImageIndex)
循环读取图片
Count:=1
for Index := Count to 5 by 1
tuple_string(Index,‘0‘,StringIndex)
filename:=‘x\\xxx\\xxxxx\\‘+StringIndex+‘.bmp‘
read_image(Image,filename)
endfor
标签:图片 filename var 实现 字符 bsp bmp 取图 tuple
原文地址:https://www.cnblogs.com/dengzhekaihua/p/10795200.html