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
The Fortress of Fear
Skybreak v 1.2
the virtual human
Lost Coastlines
The PK Girl
The Lost Labyrinth of Lazaitch
The Dwarf of Direwood Forest
The Lost Children
Starship Quest
 
Latest Forum Posts
ParserComp 2024 site is up
HAPPY BIRTDAY RoozdenScoot!
Copyright limitations?
Search Function Not Working In Windows 11
errors
Forum site error
The Book of Jax - The Adventures of Alaric Blackmoon # 10
HAPPY BIRTHDAY DazaKiwi
HAPPY BIRTHDAY ralphmerridew
An' anuvver fing....
 
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  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