[资料收集]之lrt_Fadd32_fld

Adds a new field to an FML buffer.

int lrt_Fadd32_fld ( FBFR32 *fbfr, "name=fldname" | "id=idval", "value=fldvalue" [, "len=8"], LRT_END_OF_PARAMS );

fbfr
A pointer to the FML or FML32 buffer.
fldname
Field name.
idval
Field identifier.
fldvalue
Value of the new FML field.
len
Field length.

 

The list of parameters must end with LRT_END_OF_PARAMS.

The lrt_Fadd32_fld function adds a new field to an FML buffer. Either the name of the FML field or its field id must me specified as the second parameter. The value of the new FML fielFML bufferd must be specified in the third parameter. The field length is optional. It only needs to be specified of the type of FML field is CARRAY (binary data). The length of the other field is determined by field type and value.

Important: If the data is CARRAY, then once you save the parameter, the len argument becomes the length of the parameter name, rather than the length of the recorded value. For example, if the parameter is <parm>, then len will be 6.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值