Changeset 54
- Timestamp:
- 10/30/2008 11:02:52 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
SH_SHM/trunk/source/shmenu4.c
r16 r54 1540 1540 SAMPLE min, max; /* new minimum and maximum of trace */ 1541 1541 REAL dt; /* sample distance of current trace */ 1542 char str[BC_LINELTH+1]; /* scratch string */ 1543 char symbol[BC_LINELTH+1];/* scratch string */ 1542 1544 1543 1545 /* executable code */ 1544 1546 1545 if (cp_pnexc(par, 1,status)) return;1547 if (cp_pnexc(par,3,status)) return; 1546 1548 ml_gettrcpar( par, 1, tc, " trace list: ", trc, &listlth, status ); 1547 1549 if (Severe(status)) return; … … 1565 1567 db_setr( trc[t], ER_MAXVAL, max, status ); 1566 1568 if (Severe(status)) return; 1569 if (cp_pentered(par,2,status)) { 1570 cp_getstr( par, 2, tc, " symbol b-ret: ", BC_LINELTH, symbol, status ); 1571 if (Severe(status)) return; 1572 sprintf( str, "%e", b ); 1573 sl_setsymbol( symbol, str, status ); 1574 if (Severe(status)) return; 1575 } /*endif*/ 1576 if (cp_pentered(par,3,status)) { 1577 cp_getstr( par, 3, tc, " symbol m-ret: ", BC_LINELTH, symbol, status ); 1578 if (Severe(status)) return; 1579 sprintf( str, "%e", m ); 1580 sl_setsymbol( symbol, str, status ); 1581 if (Severe(status)) return; 1582 } /*endif*/ 1567 1583 } /*endfor*/ 1568 1584
Note: See TracChangeset
for help on using the changeset viewer.