View Single Post
Old 01-04-2013, 10:58 PM   PM User | #14
triko
New Coder

 
Join Date: Oct 2012
Location: Italy
Posts: 72
Thanks: 3
Thanked 0 Times in 0 Posts
triko is an unknown quantity at this point
Quote:
Originally Posted by felgall View Post
So what does your code look like now. Also are there any error messages on the error console?
No error in console, but I find error!!!
When I write array = ["Yehxcwj ecc...."]
the programs read this how to one element of array, so when start cicle for (i = 0; i < array.length; i++), the programs execute only one for because the length of array is 0. How to fix this problem!?!?! Beacause my problem ask: " Is stored in an array a text of char. Print the numbers of word, phrase and word for phrase!!!".
If I use an simple var the progrma work perfectly
triko is offline   Reply With Quote