makeDynMixed()
The function returns a mix with n (n = the number of defined elements) elements.
Synopsis
mixed makeDynMixed([mixed x1, mixed x2 ...]);
Parameters
Parameters | Meaning |
x1, x2, ... | Single elements of an arbitrary type (string, int and others) |
Return value
In case of errors, an empty field will be returned.
Description
The function returns a mixed with n elements.
Example
The following example creates a mixed with elements of type int, long, string, float, time and unsigned.
main() { mixed result; result = makeDynMixed( (int) 1, (string) "example", (float) 5.5, (time) getCurrentTime(), (unsigned) 200); DebugN(result); } |
Assignment
Availability
CTRL