Changeset 1451 in Sophya
- Timestamp:
- Apr 7, 2001, 1:17:19 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/basexecut.cc
r1276 r1451 64 64 } 65 65 else if (kw == "newwin") { 66 i f (tokens.size() < 2) { cout << "Usage: newwin nx ny" << endl; return(0); }67 int nx, ny;68 nx = ny = 1;69 nx = atoi(tokens[0].c_str());ny = atoi(tokens[1].c_str());66 int nx=1, ny=1; 67 //if(tokens.size() < 2) { cout << "Usage: newwin nx ny" << endl; return(0); } 68 if(tokens.size() > 0) nx = atoi(tokens[0].c_str()); 69 if(tokens.size() > 1) ny = atoi(tokens[1].c_str()); 70 70 mObjMgr->SetGraphicWinZone(nx, ny, true); 71 71 }
Note:
See TracChangeset
for help on using the changeset viewer.