Create your own Interactive Fiction

ADRIFT - Interactive Fiction  
Home   |   News ADRIFT News RSS   |   Screenshots   |   Download   |   Games ADRIFT Reviews RSS   |   Forum   |   Help   |   Links
Welcome Guest Register | Login
Popular Games
Skybreak v 1.2
Top Hat
Skybreak! v. 1.1
The Lost Children
the virtual human
The Axe of Kolt
Give Me your Lunch Money 2010
The PK Girl
Magnetic Moon
Latest Forum Posts
Variable .. What happened?
Forum showing code.
Location / no location
5.0.36 out now
Saving the Adrift GUI layout.
Voting Round 2 of Xyzzy Awards is now open
How do you write to an array with a text variable 2 another?
Latest Reviews
Son of Camelot
Camelot 1.05
Alien Diver v13
Museum Heist
The Spectre of Castle Coris
The Axe of Kolt
Die Feuerfaust
Penrhyn - Burning Skies #GameJam420
Dreamspun #GameJam420

Make a donation

Cursor  Can we no longer use "or | || and & &&" in expressions?

Issue Type: Status: Priority: Date Submitted: Votes:
Bug No Longer Required High Mon 2nd Jan 2012 1 vote Vote Up Vote Down
Found in version: Last Updated: Completed in version: Date Completed: Track Changes:
5.0.22 Sun 3rd Aug 2014 5.0.32 Sun 3rd Aug 2014 Log In
ElliotMMon 2nd Jan 2012 05:17
I've been attempted to bug fix one of my projects for a couple hours now and have narrowed down one problem to 'bad expressions' whenever I attempted to use AND or OR in building test cases for If().

From the Adrift 4 manual:
If "test" evaluates true, returns x, else returns y
Where "test" is a=b, a==b, a<b, a<=b, a>b, a>=b, a<>b, a!=b
and conditions can be ANDed using "and", "&" or "&&"
or ORed using "or", "|", "||"
ElliotMMon 2nd Jan 2012 06:01
Hmm, I've now produced one that worked fine with an "or" but I still have others which seem to fail.
ElliotMThu 5th Jan 2012 23:16
I may have been mixing integer and string condition tests in an If(), and I believe I've heard that those aren't currently allowed? I was trying something fairly complicated, so the failure may have been due to something else.
CampbellMon 16th Jul 2012 15:15
Can you send me an example of what was giving you an error?
ElliotMMon 16th Jul 2012 15:52
Its been so long and I had several versions of that project, so I'm not sure I remember what I was trying to do. I'll see what I can do.
ElliotMSun 3rd Aug 2014 03:46
Lets go ahead and mark this as closed as I can use these symbols just fine with what I'm doing currently.
CampbellSun 3rd Aug 2014 11:10
Ok, great, thanks.
© 2013 Campbell Wild. All rights reserved. | Contact the Webmaster