AbGetListVal

SUMMARY

GetListVal - Gets the value of a specified child of a child of the given listnode.

SYNTAX

GetListVal(<listnode, index, childname>);

ARGUMENTS

listnode (type:any)
Name of the listnode.
index (type:integer)
Index of the child.
childname (type:string)
Name of the child of the child.

DESCRIPTION

Stack
  1. Missing arguments are taken from the stack.(and removed from there).
  2. The result is pushed on top of the stack.

Effect
The Job gets the value of a specified child of a child of the listnode and pushes its result onto the stack.

EXAMPLES

//Stack before is empty:
GetListVal(BDC.ActDamage.Rooms,3,"Room")
// Stack afterwards (1 Element)
//    "Room_xy"  (Name of the third room)


Syntax Notation
[aaa]
aaa is optional (zero or one occurences)
(aaa|bbb)
aaa exclusive or bbb
(aaa)*
aaa may occur indefinitely often or may be omitted
(aaa)+
aaa may occur indefinitely often but at least once
(aaa)m..n
aaa may occur from m to n times