资 源 简 介
该组件可用编写字符串和数字运算处理脚本,供运行时调用获取执行结果
1、组件调用的方式可以参考 main.cpp
2、脚本的编写可以参考 debug/my.cfg
3、可调用系统函数有
atof: 将字符串转换为浮点数
ceil:
floor:
abs:
index:
strcmp:
substr:
strlen:
trim:
strstr:
split:
replace:字符串替换函数
printf:
这些函数基本与同名c函数相同
4、可预先编写一组脚本文件,编译时为每个文件指定ID,供调用时选择-The component can be used to prepare the string and digital processing script for run-time access to results of the implementation of one call, components can call the reference main.cpp2, the preparation of the script can refer to debug/my.cfg3, may call the system function has atof : convert a string to float ceil: floor: abs: index: strcmp: substr: strlen: trim: strstr: split: replace: string replace function printf: These functions are basically the same with the same name c function 4, can be prepared in advance by one Group script file, compile-time specified for each document ID, call for selection