SUBR Function
The SUBR function to calls a UniBasic subroutine from a virtual attribute. The UniBasic subroutine can be one you have written, or one of the UniData-supplied subroutines. The subroutine must be compiled and cataloged before being called from a virtual attribute. See Developing UniBasic Applications for information about compiling and cataloging UniBasic subroutines.
Attribute 2 of a virtual attribute calls a UniBasic subroutine using the following syntax:
SUBR(“subroutine”,argument1[,argumentN...])
where subroutine is the name of the UniBasic subroutine you are calling, and argument is the value you are passing to the subroutine. The SUBR function call must have the same number of arguments as the subroutine you are calling. The called subroutine returns one argument, which may be multivalued or multi-subvalued.
5-18
In the following example, the ZIP virtual attribute in the dictionary of the CLIENTS file calls the PSTLCODE_FMT subroutine:
:AE DICT CLIENTS ZIP
Top of "ZIP" in "DICT CLIENTS", 7 lines, 50 characters.
*--: P
001: V
002: SUBR("PSTLCODE_FMT",@RECORD)
003:
004: Postal Code
005: 10R
006: S
Bottom.
Subscribe to:
Post Comments (Atom)
如何发掘出更多退休的钱?
如何发掘出更多退休的钱? http://bbs.wenxuecity.com/bbs/tzlc/1328415.html 按照常规的说法,退休的收入必须得有退休前的80%,或者是4% withdrawal rule,而且每年还得要加2-3%对付通胀,这是一个很大...
-
如何发掘出更多退休的钱? http://bbs.wenxuecity.com/bbs/tzlc/1328415.html 按照常规的说法,退休的收入必须得有退休前的80%,或者是4% withdrawal rule,而且每年还得要加2-3%对付通胀,这是一个很大...
-
魏杰教授这篇演讲,深入浅出,把未来几年的经济形势讲的非常透彻。 魏杰:我和大家一起对未来一段时间做一个交流,可能在座的知道从2018年3月份开始,中国社会生活出现了六个很严重的现象。 第一个现象 ,大量的中小企业反映企业非常难做,压力很大。既有成本压力,也有资金...
-
关于开户炒股 关于开户炒股(ZT) 去自己的银行询问怎么开设股票投资账户,很简单,贴个表,签个字就搞定了,没有任何费用,然后再到指定的网上操作一遍,签订个real-time的 quote协议(也是免费)就可以再网上看到实时行情并下单交易了,如果现自己的银行不专业,加拿大最快的就是...
No comments:
Post a Comment