Goto: 4C Home | 4C Docs | 4C External Libraries Home | FCJSon Home | FCJSon Function List CreateInt()

CreateInt()

Purpose:
FCJSon::CreateInt() creates a new initialized json integer object and returns it's ident.
Usage:
jsonident = FCJSon::CreateInt(<ival>);
Arguments:

integer or int64 <ival> - initial integer value
Returns:
integer <jsonident> - The ident of the new json object
Where Used:
FCJSon::CreateInt() can be called from anywhere.
Example:
Example
Description:
FCJSon::CreateInt() creates a new initialized json integer object returns it's ident.

If the only reason for creating the integer object is to immediately add it to another object and then never use if for anything else, you should use one of FCJSon::ArrayAddInt(), FCJSonArrayPutInt(), or FCJSon::AddInt() instead. Those functions will create, initialize, and add it the other object using only one call.
Bugs/Features/Comments:
int64 values are only supported in versions 6.7.3-01 and later
See Also:
FCJSon Function List


Back to Top