SPECTRA generates an error message, if the last character of the command is a minus sign (continuation of the command line). However, it is possible that the command consists of several commands terminated by separators (the default separator is the semicolon).
Example:
istat = gra_spectra( 'read bpu1' ) if( .not. istat) then type *, ' Failed to read BPU1 ' return endif call gra_spectra( 'set bpu1/x_min=0/col=4' ) call gra_spectra( 'display' )