in reply to how to read values from a given paragraph
BRNO MAGNO SLOTNO PRODNO PRODREV 31 1 14 ROJ 208 882/1 R1C PRODNAM MA +NDATE SERNO MASTRP GED-DVD 20090604 CB49914646 1021 SLSTATE DATE TIME + 0 120628 131219
And you need the values of <PRODNAM>,<PRODNO>,<PRODREV> and <SERNO>.
Please tell us what part of the input line relates to each of <PRODNAM>,<PRODNO>,<PRODREV> and <SERNO>.
CountZero
A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
My blog: Imperial Deltronics
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: how to read values from a given paragraph
by get2vijay (Novice) on May 07, 2015 at 07:30 UTC | |
by aaron_baugher (Curate) on May 07, 2015 at 10:34 UTC | |
by Anonymous Monk on May 07, 2015 at 08:02 UTC |