Help with functions 8
Hey, please can someone help me figure out a code for this function.
Name of function and its parameter
returns an array of scores (each score is the number of times that pattern occurs in a content part in the arrayweb)
Again not sure if this is what you're looking for:
Hope my friend Bionoid won't be mad on me because of this little joke
<title> Untitled </title>
var myarray = [
"Bionoid is my friend. I don't want Bionoid to get angry on me.",
"Bionoid is from South Africa. Bionoid is a nice name. Bionoid is my friend.",
"Bionoid writes nice codes."
var re = new RegExp(pattern,"gi");
var numScored = ;
function getNumOfScores(value, index, array)
numScored = array.map(getNumOfScores);
var scArray = scores(myarray,"bionoid");
for (var index in scArray)
document.write("Number of pattern scores at element position " + index + " is: " +
scArray[index] + "<br />");
bionoid gives tech_soul8 a hug.
You made my day, thank you :'D
Well thats a homework question if I ever saw one, you should have posted something of what you have tried yourself and people generally don't mind giving help but to post a homework question then ask for someone to do your homework is a bit cheeky
Yes, I know I'm about as subtle as being hit by a bus..(\\.\ Aug08)
Yep... I say it like I see it, even if it is like a baseball bat in the nutz... (\\.\ Aug08)
I want to leave this world the same way I came into it, Screaming, Incontinent & No memory!
I laughed that hard I burst my colostomy bag... (\\.\ May03)
Life for some is like a car accident... Mine is like a motorway pile up...
Problems with Vista? :: Getting Cryptic wid it. :: The 'C' word! :: Whois?
Yes, I agree.
Originally Posted by \\.\
And he/she has asked for the same kind of help without any attempts in a number of other posts. (Note thread titles).
Agree on that too! Generally I don't support helping to someone who's too lazy to try to work things out for him/her self or just looking for someone else to do the job instead of him/her (especially if that someone is running a web site) but... there was some tries made by CodeGuru in several threads so...
Originally Posted by \\.\
Last edited by tech_soul8; 11-07-2013 at 03:42 AM.
Yesssss there were some tries. I've been working on it and I will post what I've done so far. I apologise if I made it look like I was giving people my homework to do. Btw tech_soul8 and bionoid are top lads!!
Originally Posted by tech_soul8
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)