On Tue, Jul 10, 2007 at 12:03:26PM +1000, Mike Kear wrote:

> Ok I'm looking to see where i'm wrong here.   I guess i have incorrect
> syntax somewhere but i dont know where,  or maybe you just can't do it
> the way i am trying to do it ...
> 
> Here's what i want to end up with - a structure with the following
> elements for each page:
> 
> segment.1.thispage = 1;
> segment.1.nextpage = 2;
> segment.1.content = "this is the content of the segment";
> segment.2.thispage = 2;
> segment.2.nextpage = 3;
> segment.2.content = "this is the content of segment 2";
> 
> The numerals in the stuct name are a variable, that changes with each
> iteration of the looping.   So the syntax I'm using to create this
> structure is:
> 
> segment[#counter#]thispage = counter;
> segment[#counter#]nextpage = (counter + 1);
> segment[#counter#]content = "#contentelement#";

Change this to:

segment[#counter#].thispage = counter;
segment[#counter#].nextpage = (counter + 1);
segment[#counter#].content = "#contentelement#";

and it should work.



Paul Haddon
Technical Services Manager
Formstar Print Technologies


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to