playMaker

Author Topic: [SOLVED] compare int  (Read 1940 times)

wheretheidivides

  • Sr. Member
  • ****
  • Posts: 496
[SOLVED] compare int
« on: December 08, 2014, 12:28:17 AM »
I was wondering if the 'int switch' supports this.

I have 3 states: 1, 2 and 3.  using int switch I can compare the 3 as intergers.  Will the int switch do '<1' and '>3'????  Or a 'else' statement as in 'if its not 1, 2 or 3, then do this?????

« Last Edit: December 11, 2014, 09:03:01 AM by Lane »

rik

  • Full Member
  • ***
  • Posts: 246
Re: compare int
« Reply #1 on: December 08, 2014, 02:59:02 AM »
use conditional expression for this

Merto

  • Playmaker Newbie
  • *
  • Posts: 20
Re: compare int
« Reply #2 on: December 08, 2014, 11:49:33 AM »
How can I do a conditional expression?

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: compare int
« Reply #3 on: December 08, 2014, 11:52:43 AM »
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

Merto

  • Playmaker Newbie
  • *
  • Posts: 20
Re: compare int
« Reply #4 on: December 08, 2014, 12:07:14 PM »
Thank you!