- Timestamp:
- Oct 9, 2006, 12:40:41 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/tcl/src/RpUnitsTclInterface.cc
r528 r533 368 368 { 369 369 std::string unitsName = ""; // name of the units provided by user 370 std::string type = ""; // name of the units provided byuser370 std::string type = ""; // type/system of units to be returned to user 371 371 int nextarg = 1; // start parsing using the '2'th argument 372 372 int err = 0; … … 388 388 if (err) { 389 389 /* 390 * according to tcl version, in this case we 390 * according to tcl version, in this case we 391 391 * should return an empty string. i happen to disagree. 392 392 * the next few lines is what i think the user should see. 393 393 Tcl_AppendResult(interp, 394 "The units named: \"", unitsName.c_str(), 394 "The units named: \"", unitsName.c_str(), 395 395 "\" is not a recognized unit for rappture", 396 396 (char*)NULL); … … 407 407 /**********************************************************************/ 408 408 // FUNCTION: RpTclUnitsSysAll() 409 /// Rappture::Units::System:: forfxn in Tcl, returns list of compatible units409 /// Rappture::Units::System::all fxn in Tcl, returns list of compatible units 410 410 /** 411 411 * Returns a list of all units compatible with the given units string.
Note: See TracChangeset
for help on using the changeset viewer.