Hi all,
I hope someone can help me in understanding why my script doesn't work properly.
I have a txt file with some information stored in. One of them is the name of a column that I want to use for the elaboration of other tables.
textfile = Load Text File( path_elab || "\Analysis_info.txt" );
lines = Words( textfile, "\!N" );<BR />B3 = Parse( ":" || Word( 4, lines[4], " " ) );
B3 stores the column I want to use trough the script.
The script works and makes plots, till it arrives at :
dt_plot = dt_stack << Survival(
Y( :A ),
Censor( :C),
Grouping( B3 ),
Failure Plot( 1 ),
Survival Plot( 0 ),
Censor Code( 0 ),
By( :Z )
);
In this case the script stops, reporting Bad Argument( {B3} ) .
The fact is that if I comment the line containing By (:Z), the script works.
Do you know why this happens?
Thank you!