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
Pete's Punkin Junkinator
Skybreak v. 1.4
Ectocomp 2009
The Sisters
Synonymizer
The Makeshift Magician
Return to Camelot
Escape to New York v1.1
Notebook Demo
Hold Breath
 
Latest Forum Posts
Belated happy birthday saabie!
Object groups?
Happy birthday Denk & Andrew
InsideADRIFT Back Issues
Hi everyone
Happy birthday, David
Good advice from an IF Comp Winner
Hiding direction pointers?
Walk-throughs
Formatting Text & Graphics Displays
 
Latest Reviews
DRAM 321 Final
Goldilocks is a FOX!
Xanix - Xixon Resurgence
Finn's Big Adventure
Bug Hunt On Menelaus
Magor Investigates...
Classic Adventure
Private Eye
Roozden's Color Code Module
Wumpus Hunt

Make a donation

Cursor  Extend the Dot Operator to function after List(And,Or,Rows)

Issue Type: Status: Priority: Date Submitted: Votes:
Enhancement More Info Required High Tue 15th Dec 2015 3 votes Vote Up Vote Down
 
Found in version: Last Updated: Completed in version: Date Completed: Track Changes:
5.0.34.1 Wed 23rd Dec 2015 Log In
 
ElliotMTue 15th Dec 2015 00:53
I would like for it to be possible to continue the dot operator after using List(And,Or,Rows).

I originally mentioned this idea in the Enhancement request http://www.adrift.co/bug/19059 by Daza as a point of discussion, but would like to make a separate request here as well.

Daza's original request was concerned with being able to print a store inventory in a row-wise fashion with an object's name and other stats listed alongside one another. If you could continue the dot operator after using List(And,Or,Rows), the following would be possible:

Groupkey.ForSale(Available).List(Rows).StoreText

From items in 'Groupkey', filter by state property 'ForSale' set to state 'Available' and output a List of Rows for contents of text property 'StoreText', which contains the text with object property references the author wants to list when this object is 'Available' for sale.
 
campbellWed 23rd Dec 2015 15:15
It doesn't make sense to apply a property to a List function as this just returns a string. However, you should already be able to apply the property as a filter to the ForSale filter, like so:

Groupkey.ForSale(Available).StoreText

This will return a list of the StoreText properties. You would need to do your own formatting to separate them into separate lines though.
© 2013 Campbell Wild. All rights reserved. | Contact the Webmaster