vfp中,测试表达式“1+2=3”的类型可以书写为“?type(1+2=3)”对吗 如果

vfp中,测试表达式“1+2=3”的类型可以书写为“?type(1+2=3)”对吗 如果不对应该写成什么样子

不对,但您可以用?vartype(1+2=3)测试表达式类型

另外这样的表达式还需要测试吗?总归是L型呀
温馨提示:答案为网友推荐,仅供参考
第1个回答  推荐于2017-09-24
getClass().getClassLoader().loadClass("com.mysql.jdbc.Driver"),就不行。 为什么呢?打开com.mysql.jdbc.Driver的源代码看看, // // Register ourselves with the DriverManager // static { try { java.sql.DriverManager.registerDriver(new Driver()); } catch (SQLException E) { throw new RuntimeException("Can't register driver!"); } } 原来,Driver在static块中会注册自己到java.sql.DriverManager。