Baanboard.com

Go Back   Baanboard.com

User login

Frontpage Sponsor

Main

Poll
Would you like to see a separate forum on Baanboard for the ION product?
No
14%
Yes
86%
Total votes: 80

Baanboard at LinkedIn


Reference Content

 
put.double.arg(), put.long.arg(), put.string.arg()
By patvdv at 26 Feb 2008 - 21:57


put.double.arg(), put.long.arg(), put.string.arg()

Syntax

long put.double.arg( long arg_no, double value )

long put.long.arg( long arg_no, long value )

long put.string.arg( long arg_no, string value )

Description

These functions assign a value to the specified argument, after conversion to the type of the argument. For put.double.arg(), the original value is of type double. For put.long.arg(), the original value is of type long. For put.string.arg(), the original value is of type string or multibyte string.

Arguments

arg_no

The sequence number of an argument supplied to the currenctly executing function (i.e. the function in which put.double.arg(), put.long.arg(), or put.string.arg() is called). The allowed range for this sequence number is 1 ... get.argc().

value

The value to assign (after conversion to the correct type) to the specified argument.

Return values

0 The function terminated successfully.
-1 The function terminated with an error: arg_no is out of range or it is not possible to assign a value to the specified argument.

Context

Bshell functions.

Related topics


0
No votes yet


All times are GMT +2. The time now is 14:31.


©2001-2013 - Baanboard.com - Baanforums.com