Defining Logic > Functions > System Functions > Location

Location

The Location() function returns the current activity’s name-index number. This function is especially useful in subroutines that vary depending on which activity’s logic calls them. By using the Location() function with an IF...THEN statement, the subroutine can act differently depending on the activity that called it. This function is valid in logic pertaining to activities, routing, and arrivals.

 

The following are examples of using the Location() function:


© 2016 ProModel Corporation • 556 East Technology Avenue • Orem, UT 84097 • Support: 888-776-6633 • www.promodel.com