+
|
Appends a new itemlist to the end of an existing queue.
See example: Adding Items to a Queue
|
-
|
Inserts a new itemlist in front of the original items.
|
num
|
Specifies the queue number. Multiple queues can be specified by including an index at the start of the <?queue> command, ranging from 1 to 10. These queues will then be used concurrently and independently. If you do not specify an index, then queue number 1 will be used automatically.
See example: Using Multiple Queues.
See example: Overriding Queues.
|
itemlist
|
Defines the syntax for the list of items that you want to queue.
|
item
|
Specifies the type of item that you want in the itemlist.
|
pitem
|
The paragraph item and an optional repeat parameter, along with the literal characters p or p*.
|
ritem
|
Contains either the optional repeat parameter or repeat instances of sitem, also optional.
|
sitem
|
Requires a string parameter or a litem parameter group.
|
litem
|
Requires string parameter(s) preceded by the literal characters l or L.
|
repeat
|
Specifies the number of times you require the p and sitem parameters to be repeated: a number greater than zero. The repeat parameter specifies the number of lines to which each string should be applied. For example, <?queue 5"a","2"b> will insert a on the current line and the next four lines, and then insert b on the two subsequent lines.
See example: Using repeat counts in conjunction with brackets.
|
string
|
Allocates the text / PI / show string to be inserted. Can contain any string of alphanumeric characters.
|
p
|
Putting a p in front of an item means the pitem is restricted to a paragraph.
When a pitem is used, it means two things:
• When the paragraph ends, any remaining items within the p are discarded ready for the next paragraph.
• If the items within the pitem run out before the end of the paragraph, nothing further will be extracted from the queue until the end of the paragraph is reached.
See example: Specifying Queue Paragraph Boundaries
|
l
|
In addition, the <?queue> command can also be configured to recognize the last line of a paragraph and insert an alternative string there. This is done by placing either a l or L parameter in front of a string, but is only relevant within a pitem. These both work by reformatting the last line of the paragraph with the relevant string. The l parameter formats as the last string for the paragraph. Even if it is encountered earlier in the paragraph PTC ALD inserts it on the last line.
See example: Last Line Formatting with a Queue.
|
L
|
Ensures the string is included within the paragraph. If the queue gets to the last line of the paragraph and the string has not yet been inserted, it is inserted now.
See example: Last Line Formatting with a Queue (2).
|
*
|
It is possible to add the string ad-infinitum by adding a * after the string. For example, <?queue "a"*> adds an 'a' at the start of every line following the point of insertion. This also repeats across paragraph boundaries.
|
|
Getvar 11658 returns the queue list for the next line, as it currently stands. If the current line is the last in a paragraph, then this may subsequently change. Getvar 11659 returns the item inserted in the line. If an l or L parameter option were used PTC ALD can format the line twice, once with the old string and once with the new one.
|