473,508 Members | 2,392 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

list in a variable without an array

JamieHowarth0
533 Recognized Expert Contributor
Hello bacpao !!!

Thank u very much for helping me.

I just have another question.can I store all the country names in a variable other than array and show it by looping that variable.

Thanks again !!!
Unless you want to use a one-column recordset (which is, effectively, an array of sorts), don't think so... I however may be wrong (as a relative rookie to TSDN).

Cheers,

medicineworker
Aug 28 '07 #1
2 1185
Ranjan kumar Barik
95 New Member
Unless you want to use a one-column recordset (which is, effectively, an array of sorts), don't think so... I however may be wrong (as a relative rookie to TSDN).

Cheers,

medicineworker
Hello medicineworker !!!

Thank u for ur reply.
But I found another solution that was like this ;

<%
dim str
str = "india pakistan bangladesh usa uk china indonesia southAfrica"
dim country
country = split(str," ")
%>

Thank you again for ur reply !!!
Aug 28 '07 #2
jhardman
3,406 Recognized Expert Specialist
Hello medicineworker !!!

Thank u for ur reply.
But I found another solution that was like this ;

<%
dim str
str = "india pakistan bangladesh usa uk china indonesia southAfrica"
dim country
country = split(str," ")
%>

Thank you again for ur reply !!!
yes, this is what I would suggest, but then country is an array, so if you want to avoid arrays in general, this doesn't help.

Please avoid using web slang (such as "plz", "ur" etc.) in your posts. It is very distracting. I am also annoyed by multiple exclamation points, but I am generally more forgiving of those, especially when you are thanking another user enthusiastically. Please also begin a new thread to start a new discussion.

Jared
Aug 28 '07 #3

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

Similar topics

25
7543
by: Yves Glodt | last post by:
Hello, if I do this: for row in sqlsth: ________pkcolumns.append(row.strip()) ________etc without a prior:
1
2050
by: Hal Styli | last post by:
hello, can someone please help... Im interested in the use of an auxiliary array to act like pointers for another array, allowing the sort order to be traversed. See code below. I dont have an...
35
3547
by: Thierry Loiseau | last post by:
Hello all, and Happy end year 2005 ! Well, I would like to obtain a list of all JavaScript var statement, With "for...in" perharps ? That is bellow my recent test here, but the problem is...
16
1850
by: Jonathan.Fillion | last post by:
Ok, I have a simple problem and I might just be blind and not see the (possibly simple) solution to it. I want to declare variables while adding them to a list simultaneously. What I want to do is...
1
4374
by: Christina | last post by:
Hi, I've been looking at some code for dependent list boxes to adapt to a State and City list. There will only be 2 states for the first list box, and 3 cities in the second list box. When the...
45
18764
by: Zytan | last post by:
This returns the following error: "Cannot modify the return value of 'System.Collections.Generic.List<MyStruct>.this' because it is not a variable" and I have no idea why! Do lists return copies...
8
416
by: Shraddha | last post by:
Can we access a node without traversing the list........ I mean if a list is having total 10 nodes..and I want to jump directly on 5th node without traversing first four nodes can I do that? The...
8
5113
by: Rex | last post by:
Hi All, I need to create a 2-dimensional group of values, the first dimension having 8 rows, while the 2nd is variable. I was thinking of using List<T>, but MAYBE List<Tis not the way to go (I...
0
278
by: Weeble | last post by:
On Jun 20, 11:10 pm, Göran Andersson <gu...@guffa.comwrote: I did it that way because CopyTo has a whole bunch of failure cases to take care of (multi-dimensional array, not enough space,...
3
1730
by: bruce | last post by:
hi guys/gals... got a basic question that i can't get my hands around. i'm trying to programatically create/use a list/tuple (or whatever the right phrase in pyton is!!) basically,...
0
7224
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7323
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
7380
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...
1
7039
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
5050
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...
0
3192
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1553
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
763
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
415
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.