PotterHarry Posted May 14, 2017 Report Share Posted May 14, 2017 Hi all I have sampled a range of screen positions to an array variable %incr[1]%, %incr[2]%. These are integer variables. Currently I am writing all these many variables to individual registry keys. How would it be possible (if indeed it is) to store this list of values in a single key? Join variable seems to be Text based, and these values are integer. I'd appreciate a steer in the right direction. Thank you !! Quote Link to comment Share on other sites More sharing options...
Cory Posted May 14, 2017 Report Share Posted May 14, 2017 I would save them as delimited text and use split/join. Quote Link to comment Share on other sites More sharing options...
PotterHarry Posted May 14, 2017 Author Report Share Posted May 14, 2017 Thanks Cory .. My first attempt worked!! Quote Link to comment Share on other sites More sharing options...
rberq Posted May 14, 2017 Report Share Posted May 14, 2017 I have done Cory's technique, but saving in an environment variable rather than registry. The only problem I ran into was exceeding the allowable size of an environment variable. I don't know if you have to watch out for size limits with registry keys. Quote Link to comment Share on other sites More sharing options...
PotterHarry Posted May 15, 2017 Author Report Share Posted May 15, 2017 Thanks rberq .. I have 44 fields that save quite nicely in the registry to individual keys as text strings, with separators. Must research environment variables. It seems that everything I do is eventually superseded by a more elegant solution! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.