comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » recursive tag_names
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
recursive tag_names [message #11353] Sun, 22 March 1998 00:00
csaute3 is currently offline  csaute3
Messages: 10
Registered: March 1998
Junior Member
Does anyone have a "recursive" tag_names like function. I would like to
pass in a structure and get back a string array with members down to the
bottom level. For example:

input = {a:{m,n}, b:{r,s,t}, c, d, e}

output = recursive_tag_names_function(input)

print, output

'input.a.m', 'input.a.n', 'input.b.r', 'input.b.s', 'input.b.t',
'input.c', 'input.d', 'input.e'

Thanks,
Cathy


-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/ Now offering spam-free web-based newsreading
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: another call_external newbie
Next Topic: zonal means

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 10:49:18 PDT 2025

Total time taken to generate the page: 0.71960 seconds