User Tools

Site Tools


kill_shut_down_the_constantclass_object_.htm
Navigation:  ABC Library Reference > ConstantClass > ConstantClass Methods >====== Kill (shut down the ConstantClass object) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

Kill

blk2blue.jpg

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

Example:

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

kill_shut_down_the_constantclass_object_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1