以文本方式查看主题

-  易表在线答疑  (http://egrid2000.com/dvbbs/index.asp)
--  用户社区  (http://egrid2000.com/dvbbs/list.asp?boardid=2)
----  这个函数太难了  (http://egrid2000.com/dvbbs/dispbbs.asp?boardid=2&id=41976)

--  作者:ycs5801
--  发布时间:2020/4/14 22:39:00
--  这个函数太难了
DelFor2(docdir+""数据文件.egd"",""机动车档案"","""",""号牌号码"",""="","""+Substitute(Substitute(Eval("Substitute(""|@|"",""|"","""+Substitute(ListFor(Grid,"号牌号码",2),"|",""")+""|""+Substitute(""|@|"",""|"",""")+""")"),"@",""") And Export(docdir+""数据文件.egd"",""机动车档案"","""",""机动车档案"",""号牌号码"",""="","""),"|",""") And DelFor2(docdir+""数据文件.egd"",""机动车档案"","""",""号牌号码"",""="",""")+""")
") And DelFor2(docdir+"数据文件.egd","机动车档案","","号牌号码","=","") And ClearGrid(Grid) And If(MsgBox("你修改的数据已成功保存!要继续修改吗?",2,4),ClearGrid("B") And Import("B",docdir+"数据文件.egd","机动车档案","") And DelRow("B",1) And OpenWindow(0) And SetVariable("%号牌号码%",""),CloseWindow() And SetVariable("%号牌号码%",""))


以上是网上看到的一些代码,这里的Substitute(""|@|"",""|"",""") 这些起什么作用呢?怎么凭空出来个@,没看明白有什么用