makeDynUInt()

Returns a dynamic array of natural numbers.

Synopsis

dyn_uint makeDynUInt([unsigned x1, unsigned x2 ...]);

Parameters

Parameters Meaning
x1, x2, ... Individual elements

Return value

In the event of an error, the function returns an empty field.

Description

Returns a dynamic field of natural numbers with the elements x1 , x2 and so on.

Example

main()
{
  dyn_uint d;
  d=makeDynUInt(1,2,3);
  DebugN("Uints:", d);
}

The above example outputs:

WCCOAui1:["Uints:"][dyn_uint 3 items

WCCOAui1: 1: 1

WCCOAui1: 2: 2

WCCOAui1: 3: 3

WCCOAui1:]

Assignment

Dynamic arrays

Availability

CTRL