new_stats


The new_stats function is a non-class version of the CStats:new method which creates and returns a new CStats object.

Syntax

S = new_stats()

bullet.gif    S is returned as a new CStats object.

bullet.gif    On failure, nil is returned.

Example

S = new_stats()

-- create a new instance of S of the CStats class.

  

-- other uses of the class go here

S:delete()

-- deletes the object and its associated memory.

Related Topics

CStats class

new

delete


Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics, Inc. All Rights Reserved.