Search Results

Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: eggi ; Forum: Perl and child forums
Forum: Perl Apr 23rd, 2008
Replies: 4
Solved: Program Problem
Views: 1,134
Posted By eggi
Hey There,

Are you having problems modifying a variable you declare outside of the loop?

This code will increment the variable in the foreach loop and change it's value outside the loop.

Let...
Forum: Perl Dec 2nd, 2007
Replies: 10
Views: 2,116
Posted By eggi
Hi,
I'm not sure I follow on the first one, but for the second part, this might help:

$already_putin=2.00 # use 0 to start;
$input = 1.00;
$mean_average = ($already_putin+$input)/2;
Showing results 1 to 2 of 2

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC