472,967 Members | 1,718 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,967 software developers and data experts.

'repeat with' tag in html

Can you plz tell me the significance of 'repeat with' tag ? For reference please see below given code:

---------------------------------------------------------------------------------------------------------------
TABLE(class="format");
numberOfFields = 0;
repeat with j from 1 to SELECT_FIELDS-NAME.dim;
numberOfFields = numberOfFields + 1;
fieldname = "GS_SEARCH_FIELD-";
fieldlabelPre2 = "GV_TEXT_";

fieldlabelTab[numberOfFields] = fieldlabelPre2 & SELECT_FIELDS-NAME[j];

fieldnameTab[numberOfFields] = fieldname & SELECT_FIELDS-NAME[j]`
`if(j == 4 || GV_ADDITIONAL_CRITERIA.value == "X");
if(numberOfFields == 4 || j == SELECT_FIELDS-NAME.dim);
TR();
repeat with k from 1 to numberOfFields;
TD(class="label",nowrap="X");
fieldlabel = fieldlabelTab[k];
fieldname = fieldnameTab[k];
if(fieldname == "GS_SEARCH_FIELD-CATEGORY");
fieldname = "GS_SEARCH_FIELD-CATEGORY_GUID" ;
end; `
---------------------------------------------------------------------------------------------------------------

Thanks in advance.
-- Poonam
Feb 6 '08 #1
3 1225
Markus
6,050 Expert 4TB
This isnt html.

Post in the relevant forum.
Feb 6 '08 #2
drhowarddrfine
7,435 Expert 4TB
If you tell me what language that is, I'll move it to the appropriate forum.
Feb 6 '08 #3
harshmaul
490 Expert 256MB
Hi,
Sorry if i undermine you guys experts. It looks like apple script, and there don't look like theres an apple script forum.

And if thats the case the line can be translated as so...


Expand|Select|Wrap|Line Numbers
  1. repeat with k from 1 to numberOfFields
this line is begining of a loop, which basically loops through incrementing k each time until k reaches the numberOfFields variable.

the loop starts at repeat, and finishes at end.
Feb 6 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: Csaba Gabor | last post by:
I wrote a .repeat(n) function for strings which seemed to work fine: String.prototype.repeat = function(n) { // repeats the string n times if (n<1) return ""; if (n<2) return this; for (var...
1
kestrel
by: kestrel | last post by:
im using externl css, and i have a menu, and i want to add some css, thta will make an image repeat at the top of my page. i dont know how to sup into my html file, div or what ever. thanks ...
2
XedinUnknown
by: XedinUnknown | last post by:
Hi! I am new to this forum, but not new to web design and programming. Nevertheless, I have never tried to use PNG so extensively in my pages. here's the problem. First, I have found that the...
4
by: shapper | last post by:
Hello, I am trying to give a background to a Div repeating it on the y direction. Please, notice the alternate of colors: http://www.27lamps.com/Beta/Background/Background.html Does anyone...
0
by: shapper | last post by:
On Sep 25, 1:56am, shapper <mdmo...@gmail.comwrote: Sherm, Thank you to point that to me. I forgot to hide the gradient on Photoshop and I was all this time going around my CSS. Thank you...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.