摘要: import console; import mysql.client; //本地数据库 console.log("正在连接本地数据库服务器..."); var localdb,err = mysql.client( server = "localhost"; uid = "root"; pwd = "123456"; ); if(!localdb){ c... 阅读全文
posted @ 2018-01-24 12:01 小鱼大虾 阅读(230) 评论(0) 推荐(0)
摘要: import win.ui; import fsys.dlg; /*DSG{{*/ var winform = ..win.form(text="AAuto Form";right=322;bottom=157) winform.add( static={cls="static";left=5;to 阅读全文
posted @ 2018-01-24 11:58 小鱼大虾 阅读(714) 评论(0) 推荐(0)
摘要: import win.ui; ..ShowWindow = ::User32.api("ShowWindow","int(int hwnd,int nCmdShow)") /*DSG{{*/ var winform = ..win.form(text="MainForm";right=269;bottom=133) winform.add( button={cls="button";text="... 阅读全文
posted @ 2018-01-24 11:56 小鱼大虾 阅读(137) 评论(0) 推荐(0)
摘要: 当我们的PHP程序Debug时,比较常用的方式是将变量的信息打印到浏览器中,例如这样: 可是直接打印出来有可能会干扰你的页面,打乱布局,影响作为Api返回的数据等问题。这时我们可以采取将调试信息输出到文件的方式,如下是最简单的例子: 可是这种方式用来记录日志还合适,用到调试时终究还是不太方便。此时我 阅读全文
posted @ 2018-01-24 11:53 小鱼大虾 阅读(198) 评论(0) 推荐(0)
本博客只是记录个人学习中遇到的问题.只供自己个人参考!