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.4
Skybreak v 1.2
The Fortress of Fear
Lost Coastlines
the virtual human
Classic Adventure
The Dwarf of Direwood Forest
Starship Quest
The Lost Labyrinth of Lazaitch
The Lost Children
 
Latest Forum Posts
Preventing character property being executed?
ParserComp 2024 site is up
HAPPY BIRTDAY RoozdenScoot!
Copyright limitations?
errors
Search Function Not Working In Windows 11
Forum site error
The Book of Jax - The Adventures of Alaric Blackmoon # 10
HAPPY BIRTHDAY DazaKiwi
HAPPY BIRTHDAY ralphmerridew
 
Latest Reviews
Classic Adventure
Private Eye
Roozden's Color Code Module
Wumpus Hunt
Lost Coastlines
The Lost Labyrinth of Lazaitch
October 31st (Post comp.)
The Euripides Enigma
AI
Hint System Library - Release 1

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