赛捷软件论坛's Archiver

erina.pan 发表于 2018-8-7 10:15

For 循环语法

假设要反转 {客户.客户名} 字符串。例如,将“City Cyclists”变为“stsilcyC ytiC”。

Local StringVar str := ""; Local NumberVar strLen := Length ({Customer.Customer Name}); Local NumberVar i; For i := 1 To strLen Do ( Local NumberVar charPos := strLen - i + 1; str := str + {Customer.Customer Name}[charPos] ); str

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.