Gamingforce Interactive Forums
85242 35212

Go Back   Exploding Garrmondo Weiner Interactive Swiss Army Penis > Garrmondo Network > Help Desk
Register FAQ GFWiki Community Donate Arcade ChocoJournal Calendar

Notices

Welcome to the Exploding Garrmondo Weiner Interactive Swiss Army Penis.
GFF is a community of gaming and music enthusiasts. We have a team of dedicated moderators, constant member-organized activities, and plenty of custom features, including our unique journal system. If this is your first visit, be sure to check out the FAQ or our GFWiki. You will have to register before you can post. Membership is completely free (and gets rid of the pesky advertisement unit underneath this message).


anyone good at SCHEME?
Reply
 
Thread Tools
rocketdog
formerly known as Green


Member 483

Level 23.92

Mar 2006


Reply With Quote
Old Sep 21, 2006, 01:58 PM #1 of 1
anyone good at SCHEME?

So I wrote this code:
Code:
(define (contain-touch x1 y1 w1 h1 x2 y2 w2 h2)
;first statement
  (if(= y1 y2)
     (if(> w1 w2)
        (if(> h1 h2)
           4
         )
      )
   )
;second statement
  (if(= y1 y2)
     (if(< w1 w2)
        (if(< h1 h2)
           4
         )
      )
   )
)
in Dr.Scheme. My problem is that when I run it, it seems to complete skip the first if statement and just run the code in the second. Any idea why it doesn't bother executing ALL the code?

Jam it back in, in the dark.
Reply


Exploding Garrmondo Weiner Interactive Swiss Army Penis > Garrmondo Network > Help Desk > anyone good at SCHEME?

Forum Jump


All times are GMT -5. The time now is 02:02 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2026, vBulletin Solutions, Inc.