易表在线答疑技术与交流用户社区 → 这个函数太难了


  共有10074人关注过本帖树形打印复制链接

主题:这个函数太难了

帅哥哟,离线,有人找我吗?
ycs5801
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:论坛游民 帖子:138 积分:2293 威望:0 精华:0 注册:2006/8/25 19:26:00
这个函数太难了  发帖心情 Post By: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(""|@|"",""|"",""") 这些起什么作用呢?怎么凭空出来个@,没看明白有什么用

 回到顶部