...则为真2.12.3rmfield删除构架的域setfield指定构架域的内容struct创建构架变量3.3.2 函数句柄函数 ( Function handle functions ) @创建函数句柄4.5.3,4.5.4functions列举函数句柄对应的函数7.6.1func2str将函数句柄数组转换为字符串str2func将字符串转换为函...
基于190个网页-相关网页
如果在一个函数中打开连接,并且只将句柄存储在一个本地变量中,那么当函数返回时,连接将被关闭。
If you open the connection from within a function, and only store the variable in a local variable, the connection will be closed when that function returns.
这些函数以环境句柄、连接句柄、语句句柄或描述符句柄作为输入参数,返回与上一次使用该句柄作出的函数调用相关的诊断信息。
These functions take environment, connection, statement, or descriptor handles as input and return the diagnostic information related to the last function call made using that handle.
为了简单起见,首先创建一个名为build_answers的helper函数,当给定一个数据库句柄或调查ID后,该函数会输出该调查所有答案的XML(参见清单4)。
To make it easier on yourself, first create a helper function called build_answers that, when given a database handle and a poll ID, outputs the XML for all the answers to that poll (see Listing 4).
应用推荐