Loading...
 

ShowPlugSpace

ShowPlugSpace

ShowPlugSpace

Stack
Stack Position Description
Stack(In) Top -
Stack(Out) Top VECTOR

Brings the occupancy of the PlugSpace - i.e. the objects registered there - onto the stack in the form of a vector.

// Set PlugSpace first [ order Dup Get(attributeSet) salesItem Dup Get(attributeSet) ] PlugSpace // Now get the actual PlugSpace with ShowPlugSpace ShowPlugSpace // the result is an opened vector like [ CX_SALES_ORDER CX_ATTRIBUTE_SET CX_SALES_ITEM CX_ATTRIBUTE_SET ] // <-- here is the STACK-TOP! 0 ShowPlugSpace # GetElement // would bring the CX_SALES_ORDER. A vector is read from left to right! // Element 0 is the farest away from the stack: [ 1 2 3 4 ] # 0 Swap GetElement // You will get the 1! // The following phrase will not change the PlugSpace: ShowPlugSpace PlugSpace // The following phrase will turn around the PlugSpace hierarchy: ShowPlugSpace Revert PlugSpace
Related topics