![]() |
![]() |
|
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
| DelevopersTScript APILabel Operators |
const char16_t* FirstLabel() const; const char16_t* NextLabel( const char16_t *label ) const; const char16_t* GetLabel() const; unsigned int SetLabel( unsigned int index, const char16_t *newLabel ); unsigned int Erase( const char16_t *startLabel, const char16_t *finishLabel = NULL );
| label | The label value. |
| index | The current index value. |
| newLabel | The new label value. |
| startLabel | The label from which to start. |
| finishLabel | The label that finishes the operation, if set to default, then it will have the same value of startLabel. |
TVariable var;
var.SetStructure({"one"=>3,"two"=>4,"three"=>5,"four"=>6,"five"=>2,"six"=>4,"seven"=>54,"eight"=>5});
for(const wchar_t *label = var.FirstLabel(); label != NULL; label = var.NextLabel(label))
MessageBox(TVariable("This label = ") + label + ", Has value = " + var[i].ToString());
Copyright © 2007-2009, Ekky Software Pty Ltd.