473,406 Members | 2,312 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 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 1243
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:56 am, 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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.