Request modification of various set_xxx() functions

Case number:845813-987812
Topic:Game: Tools
Opened by:smith92clone
Status:Closed
Type:Suggestion
Opened on:Saturday, June 5, 2010 - 18:31
Last modified:Friday, June 8, 2012 - 08:16

There are several set_xxx() functions for FoldIt parameters.

None of these functions return any values.

It would be useful if the set_xxx() functions would return the previous value of the parameter being set.

Example: Current code

local save_param = get_xxx()
set_param(new_value)
... do something ...
set_param(save_param)

Return the previous value results in

local save_param = set_param(new_value)
... do something ...
set_param(save_param)

(Sat, 06/05/2010 - 18:31  |  3 comments)


Joined: 09/18/2009
Groups: SETI.Germany

Sounds useful.

Joined: 09/18/2009
Groups: SETI.Germany

And to just get a parameter, you can use the set function with no parameter, right?

spmm's picture
User offline. Last seen 8 weeks 4 days ago. Offline
Joined: 08/05/2010
Groups: Void Crushers
Status: Open » Closed

2 years old and should be covered in recent Lua changes

Sitemap

Developed by: UW Center for Game Science, UW Institute for Protein Design, Northeastern University, Vanderbilt University Meiler Lab, UC Davis
Supported by: DARPA, NSF, NIH, HHMI, Amazon, Microsoft, Adobe, Boehringer Ingelheim, RosettaCommons