国产免费AV|泡泡玛特欧洲总部将设在伦敦|中文天堂网www新版资源在线|一本久道综合在线中文|国精产品一二三产区的使用方法|香蕉鱼在线观看|www.27eee

ELEOK

標題: [logix5000源程序]String Decoder [打印本頁]

作者: 山海致遠    時間: 2019-6-11 02:38
標題: [logix5000源程序]String Decoder
String_Decoder.ACD (123.34 KB, 售價: 1 E幣)

Functionality:

Subroutine String_Decode takes source string (string data format is most common when communicating with
some external devices over network) and extracts all values (separated by separator string,which shouldn't
contain numbers) into real array.

Numbers in the string are limited only to maximum array size,which is set in project to 50.

During decoding is string modiffied(decoded part is deleted), so if you want to keep source string, make a copy.


Example:
         source string          "0, 0.3, 0.0003, 3, 4567, 44.33"

         separator string       ","

         result values          [0 0.3 0.0003 3 4567 44.33]







歡迎光臨 ELEOK (http://m.afoofa.cn/) Powered by Discuz! X5.0