TQS Home
Trivia Quiz Shell Version 2.8 Now Available!Bot Productions Home
TQS 2.0

Back to Reference

LOCPOS Dynamic Value

Specifies a specific position of the current location.

Syntax
LOCPOS:digit
Remarks

The format of a location is digit1,digit2,...,digitn. LOCPOS:0 is equal to digit1, LOCPOS:1 is equal to digit2, etc.

Example

In this example, the program is divided into chapters, and each chapter has a menu and several other sublocations. This global button defines a "Chapter X Menu" button to appear in each of the chapter's sublocations but not the chapter's menu (that is, when the second digit of the location is greater than zero):

<BUTTON
  TITLE="Chapter %s Menu"
  SUBST="%s,LOCPOS:0"
  TARGET="LOCPOS:0,0"
  APPLIESTO="GREATER"
  GREATER="LOCPOS:1&gt;0"
/>

©2020 Bot Productions. All rights reserved.Last Updated: June 14, 2001