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

Generated by IDLdoc

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

./

ascii_template_code.pro

topascii_template_code

coding help

ascii_template_code

pit the code needed to hard code an ascii_template() in a read routine

limited testing, but has worked in each case I have tested on IDL6.4

Examples

I cant come up with a simple one... IDL> ascii_template_code template = create_struct('version', 1.00000, $ 'datastart', 1l, $ 'delimiter', 32b, $ 'missingvalue', !values.f_nan, $ 'commentsymbol', '', $ 'fieldcount', 2l, $ 'fieldtypes', lonarr( 2), $ 'fieldnames', strarr( 2), $ 'fieldlocations', lonarr( 2), $ 'fieldgroups', lonarr( 2) ) template.fieldnames = [ $ 'PHI', $ 'FIELD2'] template.fieldtypes = [ $ 4, $ 4] template.fieldlocations = [ $ 6, $ 18] template.fieldgroups = [ $ 0, $ 1]

Author information

History:

Mon Oct 1 15:26:51 2007, Brian Larsen written and tested

Statistics

Lines: 47
McCabe complexity:

File attributes

Modifcation date: Tue Sep 9 14:11:41 2008
Lines: 104