151 |
|
the_event->err_msg = current_mol->addAtom( current_atom, |
152 |
|
the_event->evt.blk_index ); |
153 |
|
if( the_event->err_msg != NULL ) return 0; |
154 |
– |
|
154 |
|
return 1; |
155 |
|
} |
156 |
|
|
176 |
|
switch( the_event->evt.asmt.asmt_type ){ |
177 |
|
|
178 |
|
case STRING: |
179 |
< |
current_atom->assignString( the_event->evt.asmt.lhs, |
180 |
< |
the_event->evt.asmt.rhs.sval ); |
179 |
> |
the_event->err_msg = current_atom->assignString( the_event->evt.asmt.lhs, |
180 |
> |
the_event->evt.asmt.rhs.sval ); |
181 |
> |
if( the_event->err_msg != NULL ) return 0; |
182 |
|
return 1; |
183 |
|
break; |
184 |
|
|
185 |
|
case DOUBLE: |
186 |
< |
current_atom->assignDouble( the_event->evt.asmt.lhs, |
187 |
< |
the_event->evt.asmt.rhs.dval ); |
188 |
< |
return 1; |
186 |
> |
the_event->err_msg = current_atom->assignDouble( the_event->evt.asmt.lhs, |
187 |
> |
the_event->evt.asmt.rhs.dval ); |
188 |
> |
if( the_event->err_msg != NULL ) return 0; |
189 |
> |
return 1; |
190 |
|
break; |
191 |
|
|
192 |
|
case INT: |
193 |
< |
current_atom->assignInt( the_event->evt.asmt.lhs, |
194 |
< |
the_event->evt.asmt.rhs.ival ); |
193 |
> |
the_event->err_msg = current_atom->assignInt( the_event->evt.asmt.lhs, |
194 |
> |
the_event->evt.asmt.rhs.ival ); |
195 |
> |
if( the_event->err_msg != NULL ) return 0; |
196 |
|
return 1; |
197 |
|
break; |
198 |
|
|