Kill (shut down the ConstantClass object)

Top  Previous  Next



The Kill method frees any memory allocated during the life of the object and does any other required termination code.


Const.Init(Term:BYTE)   !Initialize the Const object,

                        ! the first BYTE contains item count

Const.AddItem(ConstType:PString, LangQ.Text) !Describe constant structure and

Const.AddItem(ConstType:PString, LangQ.Repl) ! variables to accept the values

Const.Set(Spanish)      !pass the constant data to Const object

Const.Next(LangQ)       !copy all constant items to the LangQ

Const.Kill              !shut down Const object