Changes between Version 2 and Version 3 of Docs/Prog/Manual/ApplicationLibraries/lib825ev/Ticket/CTktFlds
- Timestamp:
- 11/23/10 10:41:40 (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Docs/Prog/Manual/ApplicationLibraries/lib825ev/Ticket/CTktFlds
v2 v3 50 50 flds.Set(TKT_FLD_GROSS, strGross); 51 51 PrintTkt(TKT_STD, flds); 52 53 // Clear the entire flds object to start over54 flds.Clear();55 flds.Set(TKT_FLD_TIME, strTime);56 flds.Set(TKT_FLD_NET, strNet);57 PrintTkt(TKT_ALT, flds);58 52 }}} 59 53 … … 62 56 flds.Set(TKT_FLD_TIME, strTime); 63 57 flds.Set(TKT_FLD_GROSS, strGross); 64 PrintTkt(TKT_STD, flds); 58 flds.PrintTkt(TKT_STD, flds); 59 60 // Clear the entire flds object to start over 61 flds.Clear(); 62 flds.Set(TKT_FLD_TIME, strTime); 63 flds.Set(TKT_FLD_NET, strNet); 64 flds.PrintTkt(TKT_ALT); 65 }}} 66 67 {{{ 68 CTktFlds flds; 69 flds.Set(TKT_FLD_TIME, strTime); 70 flds.Set(TKT_FLD_GROSS, strGross); 71 flds.PrintTkt(TKT_STD); 65 72 66 73 // Clear the gross weight reference so it will not print on the alternate ticket, time will still print 67 74 flds.Clear(TKT_FLD_GROSS); 68 75 flds.Set(TKT_FLD_NET, strNet); 69 PrintTkt(TKT_ALT, flds);76 flds.PrintTkt(TKT_ALT); 70 77 }}} 71 78