ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdtools/interface_implementation/Globals.cpp
(Generate patch)

Comparing trunk/mdtools/interface_implementation/Globals.cpp (file contents):
Revision 11 by mmeineke, Tue Jul 9 18:40:59 2002 UTC vs.
Revision 118 by chuckv, Wed Sep 25 22:51:14 2002 UTC

# Line 138 | Line 138 | int Globals::componentAssign( event* the_event ){
138    switch( the_event->evt.asmt.asmt_type ){
139      
140    case STRING:
141 <    current_component->assignString( the_event->evt.asmt.lhs,
142 <                                     the_event->evt.asmt.rhs.sval );
143 <    return 1;
141 >    return current_component->assignString( the_event->evt.asmt.lhs,
142 >                                            the_event->evt.asmt.rhs.sval,
143 >                                            &(the_event->err_msg));
144      break;
145      
146    case DOUBLE:
147 <    current_component->assignDouble( the_event->evt.asmt.lhs,
148 <                                     the_event->evt.asmt.rhs.dval );
149 <    return 1;
147 >    return current_component->assignDouble( the_event->evt.asmt.lhs,
148 >                                            the_event->evt.asmt.rhs.dval,
149 >                                            &(the_event->err_msg));
150      break;
151      
152    case INT:
153 <    current_component->assignInt( the_event->evt.asmt.lhs,
154 <                                  the_event->evt.asmt.rhs.ival );
155 <    return 1;
153 >    return current_component->assignInt( the_event->evt.asmt.lhs,
154 >                                         the_event->evt.asmt.rhs.ival,
155 >                                         &(the_event->err_msg));
156      break;
157      
158    default:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines