EntranceFree

Syntax

<Path>.EntranceFree → boolean

The read-only attribute EntranceFree returns, if the entrance of the object designated by <Path> is not blocked (true), or if it is blocked (false). The entrance might be blocked because an MU is located there or because the capacity of the object is exhausted. The object may only receive an MU if the entrance is open and free.

Return Value

The return value has the data type boolean.

Example

if MyStation.EntranceFree AND
   MyStation.EntranceOpen AND
   Not MyStation.EntranceLocked
   @.move(Station)
end

Related Topic

Entrance locked