Cicode Programming Reference > Cicode Function Categories > Display Functions Introduction > DspAnNew

DspAnNew

Note: This function is only used for V3.xx and V4.xx animations, and was superseded in later releases.

Creates an AN at the specified x and y coordinates.

Syntax

DspAnNew(X, Y)

X:

The x pixel coordinate where the new AN is created.

Y:

The y pixel coordinate where the new AN is created.

Return Value

If successful, the new AN is returned. If the AN cannot be created, -1 is returned. If an AN already exists at this location, that AN is returned.

Related Functions

DspAnNewRel, DspAnFree

Example

AN=DspAnNew(100,200);
DspSym(AN,20);
/* Displays symbol 20 at pixel location 100,200 */

See Also

Display Functions