AnsweredAssumed Answered

Repeating variables - non-numeric repetition no.

Question asked by davehob on Apr 8, 2013
Latest reply on Apr 9, 2013 by davehob

Just discovering the joys of “bucket variables”, I’ve realised that it’s possible to use non-numeric values in the repetition number, as long as I use quotes around the repetition ‘number’ when referencing it . For example, if I want to record a value for a record whose key value is a unique serial prefixed with “PPL”, I can set the variable thus;

 

Set variable [$$Test[PPL_kp_id]; Value:”xxxxx”]

 

and I can then reference it thus;

 

$$Test[“PPL123”]

 

The alternative seems to be to strip out the (unique) numerical part of the key and use that as the repetition number, but I just wondered whether using the whole thing has any pitfalls or downsides?

 

Dave.

Outcomes