search for: get_list_element

Displaying 1 result from an estimated 1 matches for "get_list_element".

2004 Nov 29
1
data is getting corrupted
...truct SAMPLE_RECORD *s_ptr; struct SPECIES_RECORD *sp_ptr; s_ptr = (struct SAMPLE_RECORD *)calloc( 1, sizeof( struct SAMPLE_RECORD ) ); /* s_ptr = (struct SAMPLE_RECORD *)Calloc( 1, struct SAMPLE_RECORD ); */ /* *fill in the header info */ strcpy( s_ptr->forest, CHAR(STRING_ELT(get_list_element(sample,"forest"), 0)) ) ; strcpy( s_ptr->subunit, CHAR(STRING_ELT(get_list_element(sample,"subunit"), 0)) ); strcpy( s_ptr->stand_name, CHAR(STRING_ELT(get_list_element(sample,"stand.name"), 0)) ); strcpy( s_ptr->legal, CHAR(STRING_ELT(get_list_elemen...