Documentation for /Users/balarsen/Documents/idl/larsen/

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

./

make_tag_valid.pro

topmake_tag_valid

structures

result = make_tag_valid(tag_in)

make a string into a valid tag for a structure, note that create_struct() removes spaces itself

only used the special characters that I could think of, I'm sure I missed some

Return value

a string that is a valid structure tag

Parameters

tag_in in required

the string to make into a valid tag

Examples

IDL> tag = 'BZ, nT (GSM)' IDL> print, make_tag_valid(tag) BZ nT GSM

Author information

History:

Mon Feb 4 11:57:10 2008, Brian Larsen added a couple more characters to the list Thu Dec 20 16:31:33 2007, Brian Larsen added, : ' " Thu Dec 20 16:25:58 2007, Brian Larsen added recursive functionalty, better to put the for loop in here instead of in every other code Wed Dec 19 17:49:37 2007, Brian Larsen written and tested

Statistics

Lines: 50
McCabe complexity:

File attributes

Modifcation date: Tue Sep 9 13:54:37 2008
Lines: 107