473,473 Members | 1,882 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

is it Array have limited in javascrip code?

18 New Member
i have a question. May i know is it array had limited? Because once read more than 5000 something that show an error and can not continue to count. My data more than 10000 rows. My program show in below. Is it my program had problems? Got others way can slove?

var a = new Array();
var b = new Array();
var c = new Array();
var d = new Array();
var e = new Array();
var f = new Array();
function id_list()
{
<?
$myFileName = "data/list.txt";
$fh = fopen($myFileName, "r");
$Read = fread($fh, filesize($myFileName));
fclose($fh);
$list = explode("?", $Read);
$x= count($list);

for($i=0; $i<$x; $i++)
{
$list_data = explode(";", $list[$i]);
?>
a[<? echo $i ?>] = "<? echo $list_data[1] ?>";
b[<? echo $i ?>] = "<? echo $list_data[2] ?>";
c[<? echo $i ?>] = "<? echo $list_data[3] ?>";
d[<? echo $i ?>] = "<? echo $list_data[4] ?>";
e[<? echo $i ?>] = "<? echo $list_data[5] ?>";
f[<? echo $i ?>] = "<? echo $list_data[6] ?>";

<?
}
?> }
Mar 26 '08 #1
2 1314
SeeMe
18 New Member
i try to set the limit like
<script> a = new array(15000); </script>
then also can not run.
Mar 26 '08 #2
Markus
6,050 Recognized Expert Expert
Please read the forum guidelines on how to post questions (code tags)

Regards.
Mar 26 '08 #3

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

Similar topics

5
by: effendi | last post by:
I wrote a simple script to remove an element of an array but I don't think this is the best way to go about it. I have a list of about five elements seperated by ";" I split the array using...
35
by: VK | last post by:
Whatever you wanted to know about it but always were affraid to ask. <http://www.geocities.com/schools_ring/ArrayAndHash.html>
7
by: Robert Mark Bram | last post by:
Hi All! How do you get the length of an associative array? var my_cars= new Array() my_cars="Mustang"; my_cars="Station Wagon"; my_cars="SUV"; alert(my_cars.length);
104
by: Leszek | last post by:
Hi. Is it possible in javascript to operate on an array without knowing how mamy elements it has? What i want to do is sending an array to a script, and this script should add all values from...
22
by: Vijay | last post by:
With the option strict On set..... Dim fs As FileStream = File.OpenRead(strFile) With fs Dim buffer(fs.Length) As Byte ' <--- Option Strict On disallows implicit conversions from 'Long' to...
4
by: Miro | last post by:
Vb2003, im still learning vb.net but I do not understand my output from this logic. If someone can help me out here. Cor Ligthert, you I believe were on the right track of what Im trying to...
1
by: ♥eXtreme oXygen♥ | last post by:
How do i call JAVASCRIP function from an event of ASP.NET:BUTTON, if runat=server attribute is true... actually i want to open an popup window using asp.net--button onclick event, but its not...
14
by: Abhi | last post by:
I wrote a function foo(int arr) and its prototype is declared as foo(int arr); I modify the values of the array in the function and the values are getting modified in the main array which is...
1
by: lathamoulali | last post by:
Hello Frnds, I am new to the ASP.NET Programming.Please help me out with this problem. I have a page_load() method in which i have to invoke the javascrip's alert method.I am using inline...
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
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
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
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
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.