From emma.glaisher at fourninety.com Tue Nov 6 08:42:56 2007 From: emma.glaisher at fourninety.com (Emma Glaisher) Date: Tue Nov 6 08:49:39 2007 Subject: [EmData] Number of items Message-ID: Can anyone tell me what is wrong with the following expression: ?repeat with i = 1 to (number of items in ColourString) ?item i of ColourString? ?end repeat XData doesn?t seem to understand ?number of items in?. Neither will it do ?number of words in?. Am I missing something? I know this is only a fragment (believe me, you don?t want to see the whole thing!), but I hope it?s obvious.... -- Emma Glaisher - Studio Fourninety Ltd Tel: 0113 238 2447 email: emma.glaisher@fourninety.com ? Save a Tree, only print if it?s important. - - Fourninety Limited, a member company of the Media Square plc group. Registered in England No. 3737606. Registered address Clarence Mill, Clarence Road, Bollington, Cheshire. SK10 5JZ Confidentiality Notice: The information in this document and any attachments are confidential. It is intended only for the use of the named recipient. If you are not the intended recipient please notify us immediately and delete this document. The contents on this document must not be disclosed to any other person nor may any copies be taken. The views of the author may not represent the views of the Company. Security Warning: This e-mail has been created in the knowledge that Internet e-mail is not a 100% secure communications medium. All liability for any claims arising as a result of using this medium to transmit information by us or to us is excluded to the extent permitted by law. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://emsoftware.com/pipermail/data-users/attachments/20071106/345bbd46/attachment.html From emma.glaisher at fourninety.com Tue Nov 6 08:46:50 2007 From: emma.glaisher at fourninety.com (Emma Glaisher) Date: Tue Nov 6 08:53:32 2007 Subject: [EmData] Number of items In-Reply-To: Message-ID: OK, I need the word ?the? in! It looks optional in [the] manual. Is this mailing list still active, BTW? I got a bounce message.... on 06.11.2007 13:42, Emma Glaisher at emma.glaisher@fourninety.com wrote: > Can anyone tell me what is wrong with the following expression: > > ?repeat with i = 1 to (number of items in ColourString) > ?item i of ColourString? > ?end repeat > > XData doesn?t seem to understand ?number of items in?. Neither will it do > ?number of words in?. > > Am I missing something? I know this is only a fragment (believe me, you don?t > want to see the whole thing!), but I hope it?s obvious.... > - - Fourninety Limited, a member company of the Media Square plc group. Registered in England No. 3737606. Registered address Clarence Mill, Clarence Road, Bollington, Cheshire. SK10 5JZ Confidentiality Notice: The information in this document and any attachments are confidential. It is intended only for the use of the named recipient. If you are not the intended recipient please notify us immediately and delete this document. The contents on this document must not be disclosed to any other person nor may any copies be taken. The views of the author may not represent the views of the Company. Security Warning: This e-mail has been created in the knowledge that Internet e-mail is not a 100% secure communications medium. All liability for any claims arising as a result of using this medium to transmit information by us or to us is excluded to the extent permitted by law. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://emsoftware.com/pipermail/data-users/attachments/20071106/b0c23556/attachment.html From emma.glaisher at fourninety.com Tue Nov 6 08:53:00 2007 From: emma.glaisher at fourninety.com (Emma Glaisher) Date: Tue Nov 6 08:59:55 2007 Subject: [EmData] Number of items In-Reply-To: <40342941-261E-4ADF-8798-10441C3DC1AC@artdudegraphics.com> Message-ID: Thanks - I've defined | as an item delimiter and put them in. It all works fine once I put 'the number of items' instead of 'number of items'! Emma on 06.11.2007 13:51, Joe Smith at jsmith@artdudegraphics.com wrote: > Emma, > 'Item' implies an item delimiter like a comma or slash. You have to > set the delimiter with ?set itemdelimiter to "/"?. This is a kind of > array. You can use words and delimit your items with spaces. > > Joe - - Fourninety Limited, a member company of the Media Square plc group. Registered in England No. 3737606. Registered address Clarence Mill, Clarence Road, Bollington, Cheshire. SK10 5JZ Confidentiality Notice: The information in this document and any attachments are confidential. It is intended only for the use of the named recipient. If you are not the intended recipient please notify us immediately and delete this document. The contents on this document must not be disclosed to any other person nor may any copies be taken. The views of the author may not represent the views of the Company. Security Warning: This e-mail has been created in the knowledge that Internet e-mail is not a 100% secure communications medium. All liability for any claims arising as a result of using this medium to transmit information by us or to us is excluded to the extent permitted by law. From support at emsoftware.com Tue Nov 6 12:38:28 2007 From: support at emsoftware.com (Chris Ryland) Date: Tue Nov 6 12:45:14 2007 Subject: [EmData] Number of items In-Reply-To: References: Message-ID: <85F2D693-E083-4492-9FAC-8FA3F625F05B@emsoftware.com> Emma-- Checking the source, [the] is indeed non-optional. Sorry about the documentation; will put it on the to-fix list. (Actually, X/InData's wildly overdue for a whole new documentation effort.) On Nov 6, 2007, at 8:46 AM, Emma Glaisher wrote: > OK, I need the word ?the? in! It looks optional in [the] manual. Is > this mailing list still active, BTW? I got a bounce message.... > > > on 06.11.2007 13:42, Emma Glaisher at emma.glaisher@fourninety.com > wrote: > >> Can anyone tell me what is wrong with the following expression: >> >> ?repeat with i = 1 to (number of items in ColourString) >> ?item i of ColourString? >> ?end repeat >> >> XData doesn?t seem to understand ?number of items in?. Neither >> will it do ?number of words in?. >> >> Am I missing something? I know this is only a fragment (believe >> me, you don?t want to see the whole thing!), but I hope it?s >> obvious.... >> > > > - - > Fourninety Limited, a member company of the Media Square plc group. > Registered in England No. 3737606. Registered address Clarence > Mill, Clarence Road, Bollington, Cheshire. SK10 5JZ > > Confidentiality Notice: The information in this document and any > attachments are confidential. It is intended only for the use of > the named recipient. If you are not the intended recipient please > notify us immediately and delete this document. The contents on > this document must not be disclosed to any other person nor may any > copies be taken. The views of the author may not represent the > views of the Company. > > Security Warning: This e-mail has been created in the knowledge > that Internet e-mail is not a 100% secure communications medium. > All liability for any claims arising as a result of using this > medium to transmit information by us or to us is excluded to the > extent permitted by law. > _______________________________________________ > Data-users mailing list > Data-users@emsoftware.com > http://mail.emsoftware.com/mailman/listinfo/data-users Cheers! --Chris Ryland / Em Software, Inc. / www.emsoftware.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://emsoftware.com/pipermail/data-users/attachments/20071106/29404d53/attachment.html From mjeune at lyje.info Mon Nov 12 16:55:41 2007 From: mjeune at lyje.info (Magalie Jeune) Date: Mon Nov 12 17:02:46 2007 Subject: [EmData] Repeat and variables Message-ID: <3E05476E-736C-4B98-84AF-BEF550967F4B@lyje.info> Hello, I don't understant why this doesn't work : ?repeat with ind=1 to 16??set fn of pic ind to sfld ind of Images??end repeat? I tried the following with success : ?repeat with ind=1 to 16??ind??end repeat? ?put 1into ind??set fn of pic ind to sfld ind of Images? Then why the combination doesn't work ? Could somenone help me ? -- Magalie Jeune - mjeune@lyje.fr === Soci?t? Lyje === Conseil et D?veloppement From support at emsoftware.com Mon Nov 12 20:15:07 2007 From: support at emsoftware.com (Em Software Support) Date: Mon Nov 12 22:02:06 2007 Subject: [EmData] Repeat and variables In-Reply-To: <3E05476E-736C-4B98-84AF-BEF550967F4B@lyje.info> Message-ID: Hi Magalie, The index of the pic in the ?set filename of pic 1... statement is based on the index of the actual pic boxes in your prototype. So, if you have 3 pic boxes, you would use ?set filename of pic 1... for the first pic box, ?set filename of pic 2... for the second, and ?set filename of pic 3... For the third, and so on. If you have a pic box in a repeat loop, it only counts as one pic box, index-wise. So, even if you have only one pic box in your prototype, and a repeat loop sets that box several times for each record, your set filename statement would need to be ?set filename of pic 1... for each iteration of the loop. Does this make sense? Regards, Joe Mathia Em Software Support / support@emsoftware.com / www.emsoftware.com (+1) 740 284 1010, fax (+1) 740 284 1210 On 11/12/07 3:55 PM, "Magalie Jeune" wrote: > Hello, > > > I don't understant why this doesn't work : > > ?repeat with ind=1 to 16??set fn of pic ind to sfld ind of > Images??end repeat? > > I tried the following with success : > > ?repeat with ind=1 to 16??ind??end repeat? > > ?put 1into ind??set fn of pic ind to sfld ind of Images? > > > > Then why the combination doesn't work ? Could somenone help me ? > > > -- > Magalie Jeune - mjeune@lyje.fr > === Soci?t? Lyje === > Conseil et D?veloppement > > > > > > _______________________________________________ > Data-users mailing list > Data-users@emsoftware.com > http://mail.emsoftware.com/mailman/listinfo/data-users >