baseportal
Start

baseportal message board

Welcome to the baseportal message board...

Please read the FAQ.

 
 Selected message: To the list 
    Message from andreas on 2/18 2004, 15:22 +00:00

    Re: Calculations


      for example:

      <perl>

      out "2+3= ",2+3,"<br>";
      out "2-3= ",2-3,"<br>";
      out "2*3= ",2*3,"<br>";
      out "2/3= ",2/3;


      </perl>

      or

      $x=2;
      $y=3;

      out "x+y= ",$x + $y;

    Your reply:

    Name: EMail: WWW:
    Subject:
    Text:
    Timezone:

    Post a new message


 All messages from this thread: To the list 
    Message from Neun on 2/18 2004, 13:46 +00:00
    EMail: vonz@shentel.net

    Calculations


      I want to do some calculations. Nothing difficult, just simple addition....Where can I find examples?
     Post a reply

    Message from andreas on 2/18 2004, 15:22 +00:00

    Re: Calculations


      for example:

      <perl>

      out "2+3= ",2+3,"<br>";
      out "2-3= ",2-3,"<br>";
      out "2*3= ",2*3,"<br>";
      out "2/3= ",2/3;


      </perl>

      or

      $x=2;
      $y=3;

      out "x+y= ",$x + $y;

     Post a reply
     

 Messages from 2700 to 2850: To the input form 
<< Newest messages | < Newer messages | To the input form | Older messages > | Oldest messages >>


Back to the homepage

© baseportal.com. All rights reserved. Terms of use



baseportal.com