Superiority symbol?

  • Tony_Vallad
  • Newbie
  • Newbie
  • User avatar
  • Posts: 9

Post 3+ Months Ago

Hi, I need to know what the superiority symbol is if used in an if like that:

Code: [ Select ]
if (var1 >> var2) {
    var2 = var1
}
  1. if (var1 >> var2) {
  2.     var2 = var1
  3. }


I've tried this syn, but it doens't seem to do what I want it to do. :?
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13503
  • Loc: Florida

Post 3+ Months Ago

Code: [ Select ]
var2 = Math.max(var1, var2);
  • Tony_Vallad
  • Newbie
  • Newbie
  • User avatar
  • Posts: 9

Post 3+ Months Ago

joebert wrote:
Code: [ Select ]
var2 = Math.max(var1, var2);


Ok, thanks a lot. It works fine. :D

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 17 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.