<<prev file | next file >>    view single page | view frames    summary: fields | routine    details: routine

ToBeReviewed/STRUCTURE/

struct2string.pro

topstruct2string

result = struct2string(struct, CUT_IN_STRING=CUT_IN_STRING, MAX_STRUCT_LENGTH=MAX_STRUCT_LENGTH, DIRECT2STRING=DIRECT2STRING)

NAME:struct2string PURPOSE:convert a structure to an "executable string" CATEGORY:bidouille CALLING SEQUENCE:sting=struct2string(struct) INPUTS:struct: a structure KEYWORD PARAMETERS: MAX_STRUCT_LENGTH : the maximum length of the structure permetted to convert the structure to string. Default is 10000l. /DIRECT2STRING: to get a string instead an "executable string" /CUT_IN_STRING: try it OUTPUTS: SIDE EFFECTS:use tostr.pro, cf this function header! RESTRICTIONS:use tostr.pro, cf this function header! EXAMPLE: IDL> print, struct2string(!d) create_struct('NAME','X','X_SIZE',891,'Y_SIZE',630,'X_VSIZE' ,891,'Y_VSIZE',630,'X_CH_SIZE',6,'Y_CH_SIZE',10,'X_PX_CM' ,40.0000,'Y_PX_CM',40.0000,'N_COLORS',16777216,'TABLE_SIZE' ,256,'FILL_DIST',1,'WINDOW',32,'UNIT',0,'FLAGS',328124,'ORIGIN' ,[0,0],'ZOOM',[1,1])

Parameters

struct       

Keywords

CUT_IN_STRING       

MAX_STRUCT_LENGTH       

DIRECT2STRING       

Produced by IDLdoc 2.0.