Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Math... in OFP  (Read 633 times)

0 Members and 1 Guest are viewing this topic.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Math... in OFP
« on: 28 Sep 2003, 22:07:13 »
Ok... So I have this script right. And I want to divide A with B, and the answer will be C.

So I put this in the script:

_A / _B = _C

Ok... Get the unknown operator message. What am I doing wrong?

Cheers!

:beat: *Gets Divided* :beat:

vektorboson

  • Guest
Re:Math... in OFP
« Reply #1 on: 28 Sep 2003, 22:42:52 »
The other way round  ;)

_C = _A / _B

The = is an assignment operator, everything that is on the right side, will be assigned to the variable that stands on the left side.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Math... in OFP
« Reply #2 on: 28 Sep 2003, 22:43:45 »
Cheers Vektorboson!

:beat: *Gets Shot* :beat:

PS: Love yer tutes! :-*