[Xerte] Re: Decision icon repeat

Julian Tenney Julian.Tenney at nottingham.ac.uk
Tue Dec 4 16:30:43 GMT 2012


Only coming through in waves....

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 04 December 2012 16:02
To: Xerte list
Subject: [Xerte] Re: Decision icon repeat


"No, if you have 10 children and repeat is 3, you will loop through three children and then exit, not 10 children three times and then exit,"

We have a semantic difference.
I don't see showing icon 1 then 2 then 3 as "looping"
I see passing through the decision icon and repeating the above as looping.
At least, that is how AW functioned.

I'm sure I did this in the past.
But maybe I was in a fever?
It's like distant ship's smoke on the horizon.

________________________________
From: Julian.Tenney at nottingham.ac.uk<mailto:Julian.Tenney at nottingham.ac.uk>
To: xerte at lists.nottingham.ac.uk<mailto:xerte at lists.nottingham.ac.uk>
Date: Tue, 4 Dec 2012 15:47:14 +0000
Subject: [Xerte] Re: Decision icon repeat
Not sure. It works the way it has for the last 5 years though. Maybe the loops were done by creating the children dynamically protoPage style?

From: xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 04 December 2012 12:15
To: Xerte list
Subject: [Xerte] Re: Decision icon repeat


So it does differ from AW then?
And then RepCount is a different var as well then?

I am positive I have had it operate a s a looping structure in the past.

________________________________
From: Julian.Tenney at nottingham.ac.uk<mailto:Julian.Tenney at nottingham.ac.uk>
To: xerte at lists.nottingham.ac.uk<mailto:xerte at lists.nottingham.ac.uk>
Date: Tue, 4 Dec 2012 10:32:21 +0000
Subject: [Xerte] Re: Decision icon repeat
No, if you have 10 children and repeat is 3, you will loop through three children and then exit, not 10 children three times and then exit,

From: xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 03 December 2012 15:41
To: Xerte list
Subject: [Xerte] Re: Decision icon repeat

Hi Jonathan.
Thanks for looking in to that.

The issue is that in Authorware, which Julian based the flow structure of Xerte on, setting a decision icons repeat property meant it would loop through that decision icon and all attached icons that specified number of times.

It would essentially repeat the entire attached sequence of icons x times.

I know I had this issue a couple years back, and the solution was a bit obtuse, but I can't remember it or track it down in the archives.

Dave

________________________________
Date: Mon, 3 Dec 2012 14:05:23 +0000
From: johnathan.kemp at ntlworld.com<mailto:johnathan.kemp at ntlworld.com>
To: xerte at lists.nottingham.ac.uk<mailto:xerte at lists.nottingham.ac.uk>
Subject: [Xerte] Re: Decision icon repeat
Further to my earlier post the Branch property will also affect what happens.

The help file reads

A setting of 'sequence', 'randomUnused', 'randomAny', or 'calculate'.

'sequence' loops through the children of the decision icon in order.

'randomUnused' loops through the children in a random order, until all the paths are used, or until the repeat property is satisfied.

'randomAny' loops through the children until the repeat property is satisfied, and may visit the same child more than once.

'calculate' allows you to route the flow into a particular page of the decision icon using the path property, which is zero based - to flow into the third page, set branch to calculate, and the path property to 2.

The following models use the decision icon and may give further insight into its use.
annotatedDiagram.rlm
bullets.rlm
buttonSequence.rlm
categories.rlm
columnPage.rlm
connectorMenu.rlm
customHotspots.rlm
dialog.rlm
dragDropLabel.rlm
inventory.rlm
links.rlm
list.rlm
memory.rlm
menu.rlm
perspectives.rlm
quiz.rlm
table.rlm
text.rlm
textMatch.rlm
thumbnailViewer.rlm
timeline.rlm
transcriptReader.rlm

The only one that does not set repeat-"all" in the model code is text.rlm which has repeat="1" and branch="calculate"

I don't know if this will help you to resolve your issue.

Hope it does :-)

Johnathan

On 3 December 2012 13:56, Kemp Johnathan <johnathan.kemp at ntlworld.com<mailto:johnathan.kemp at ntlworld.com>> wrote:
I have taken a look at the model files to see which pages use the decision icon.

After finding that the bullets page uses the decision icon I then ran some tests

By default the decision icon in the bullets page is set to

all

This results in the page listing every bullet.

If however you replace the repeat value in the property page with a number e.g.

3

Then only the first three bullets gets listed.

So I guess the answer is you put a number in (without any quotes) and the decision icon will run that many times.

Hope that helps.

You may find that taking a look at the bullets.rlm file in your xerte installs \pages\models\ folder will cast some light on its use.

Kind regards

Johnathan

PS sorry for the delay in replying - very busy on the Connector page documentation at the moment.

On 3 December 2012 11:55, Dave Burnett <d_b_burnett at hotmail.com<mailto:d_b_burnett at hotmail.com>> wrote:
No takers?

Help says the Repeat property will take All or a number.
If I use a number, nothing happens.



________________________________
From: d_b_burnett at hotmail.com<mailto:d_b_burnett at hotmail.com>
To: xerte at lists.nottingham.ac.uk<mailto:xerte at lists.nottingham.ac.uk>
Subject: Decision icon repeat
Date: Sun, 2 Dec 2012 08:08:22 -0500

What goes in the property sheet of a decision icon to have it repeat a set number of times?



_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk<mailto:Xerte at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte



_______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk<mailto:Xerte at lists.nottingham.ac.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte




_______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk<mailto:Xerte at lists.nottingham.ac.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte




_______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk<mailto:Xerte at lists.nottingham.ac.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20121204/bc56bcff/attachment-0001.html>


More information about the Xerte mailing list