Please login or register.

Login with username, password and session length
Advanced search  

News:

This forum provides RSS feed. To query recent posts use this url. More...


Pages: 1 [2]  All

Author Topic: The right sequence will open the door...  (Read 10175 times)

0 Members and 1 Guest are viewing this topic.

sychron

  • Wanderer zwischen den Welten
  • Global Moderator
  • Regular poster
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 223
  • There is no spoon. The enemy gate is down!
    • View Profile
Re: The right sequence will open the door...
« Reply #15 on: April 30, 2008, 12:57:12 PM »

I think both code snippets are identic, for WME processes Logical Operations from left to right. If a.length<4 fails, the statement fails, otherwise the second part is checked.
Logged
... delete the inner sleep ...

The Man

  • Occasional poster
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 67
    • View Profile
Re: The right sequence will open the door...
« Reply #16 on: April 30, 2008, 01:24:00 PM »

It finally works...thanks everybody...Net,if it wasn't for you,I would be stucked...
What can I say?
Wintermute community Rocks!
Logged

Net

  • Gripped Software Programmer
  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Gender: Male
  • Posts: 48
    • View Profile
    • Čurina
Re: The right sequence will open the door...
« Reply #17 on: April 30, 2008, 06:42:49 PM »

I think both code snippets are identic, for WME processes Logical Operations from left to right. If a.length<4 fails, the statement fails, otherwise the second part is checked.

Ok, but The Man wanted to write You did it! or You failed! JUST when the a variable has length equal to 4. Thats what I wrote, the game will write You failed! until the a has length 4 and the right content.
Logged
Pages: 1 [2]  All
 

Page created in 0.068 seconds with 21 queries.