call execute("data temp"||compress(mc)||";");
call execute("set "||compress(mc)||";");
call execute("sl="||sl||";");
请问这里的“|| ||”符号是什么意思啊?有什么作用啊?多谢了。

|
楼主: sxf20060530
|
4872
7
求: call execute |
|
初中生 47%
-
|
回帖推荐soporaeternus 发表于7楼 查看完整内容 5# sxf20060530
call execute()里的选项只需要是字符串,并不一定是要显式的带有引号的字符串,所以说本来需要引号一说不确切
"data temp"||compress(mc)||";"的意思是把
字符串data temp
变量mc去除空格后的字符串,这里mc可以是任何类型变量
字符串;
三个字符串连起来构成一个字符串作为call execute的参数
希望对你有帮助
本帖被以下文库推荐
| ||
|
|
| ||
|
Don't get lost in technical details. What is the big picture?
|
||
| ||
|
Don't get lost in technical details. What is the big picture?
|
|
| ||
|
Let them be hard, but never unjust
|
|
加好友,备注cda京ICP备16021002号-2 京B2-20170662号
京公网安备 11010802022788号
论坛法律顾问:王进律师
知识产权保护声明
免责及隐私声明


