ZPL手册911011

返回函数列表

功能:

根据 OpticStudio 中分析窗口的文本创建新的文本文档。


语法:

GETTEXTFILE textfilename, type, settingsfilename, flag


详述:

textfilename 可以是引号内的文件名或者字符串变量名,包括要创建文件的完整路径、名称和扩


示例:

!Macro sample to generate cardinal points in a file.
!Get a temporary file name
A$ = $TEMPFILENAME()
!Compute the data and place in the temp file
GETTEXTFILE A$, Car
!Open the new file and print it out
OPEN A$ LABEL 1
READSTRING B$
IF (EOFF()) THEN GOTO 2
PRINT B$ GOTO 1
LABEL 2
CLOSE



该文档由光学课堂(www.optkt.cn)生成

最后更新时间:2020/3/7 12:38:35

登录 后发表评论
0条评论
还没有人评论过~