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
原文地址:https://www.cnblogs.com/dengzhekaihua/p/10795200.html
时间: 2024-10-10 18:13:29