Index · Preferences · Help
Announcements · BYOND Features · Bug Reports · Fixes and Features · Developer How-To · Code Problems · Design Philosophy · Creations · Classified Ads · Gaming · Computers & Technology · Community
Forum Search:

[Advanced Search]

[Messages in this Thread] [Show All (17)] [Return to Design Philosophy]

Author:Garthor [Posts]
Date:11/5/09 4:50 pm
Topic:Re: Useage of if() proc
Post ID:725905
Parent ID:725902
Next ID:725886
That is entirely valid except for a small logical error that the else is only applying to the second if() statement there. You return the function in them anyway, so it doesn't produce a real difference, but the second if() statement should be else if() if you are going to do things that way.

Messages in this Thread: [Show All (17)]

  Useage of if() proc Ant305 (11/5/09 1:33 pm)
      Re: Useage of if() proc Magicsofa (11/17/09 12:24 pm)
          Re: Useage of if() proc Garthor (11/17/09 12:29 pm)
      Re: Useage of if() proc Rushnut (11/5/09 2:46 pm)
      Re: Useage of if() proc Jeff8500 (11/5/09 2:00 pm)
          Re: Useage of if() proc Garthor (11/5/09 4:52 pm)
              Re: Useage of if() proc Ant305 (11/5/09 5:16 pm)
                  Re: Useage of if() proc Garthor (11/5/09 5:31 pm)
                      Re: Useage of if() proc Popisfizzy (11/5/09 8:45 pm)
                          Re: Useage of if() proc Garthor (11/5/09 9:01 pm)
                      Re: Useage of if() proc Ant305 (11/5/09 8:01 pm)
          Re: Useage of if() proc Stephen001 (11/5/09 2:10 pm)
              Re: Useage of if() proc Jeff8500 (11/5/09 2:33 pm)
                  Re: Useage of if() proc Ant305 (11/5/09 4:36 pm)
                      Re: Useage of if() proc Garthor (11/5/09 4:50 pm)
      Re: Useage of if() proc ArcaneDragonX (11/5/09 1:47 pm)
      Re: Useage of if() proc Garthor (11/5/09 1:37 pm)