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
InsideADRIFT #41
Magnetic Moon
Give Me your Lunch Money 2010
Yon Astounding Castle! of some sort
The Fortress of Fear
ECTOCOMP 2010
Starship Quest
Skybreak v 1.2
The Screen Savers on Planet X
 
Latest Forum Posts
Hiding direction pointers?
Walk-throughs
Compiling for Mac and Android
Formatting Text & Graphics Displays
Hot IF topics
Happy birthday, Lumin
EctoComp 2025 ready for entries
Happy birthday Myst
Happy birthday Ardi
Happy birthday Campbell
 
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