Hi,
In my programming i use a library called VSAwk. It is initialy a unix function i believe. Anyway code would look like this
vsAwk.FS = "," ' Field seperator
While Not EOF(1)
Line Input #1, Li$
vsAwk = Li$ ' set the awk to the input line
Group$ = vsAwk.f(1)
Code$ = vsAwk.f(2)
Description$ = vsAwk.f(3) ' define each field of the awk
further items include
vsawk.findline = "searchstring"
vsawk.nf = no of fields
vsawk.action=acscan ' Start scanning the file again
and quite a few others.
The question is is there a similar library in B4PPC or is anyone considering writing one?
Many thanks
:sign0104:
In my programming i use a library called VSAwk. It is initialy a unix function i believe. Anyway code would look like this
vsAwk.FS = "," ' Field seperator
While Not EOF(1)
Line Input #1, Li$
vsAwk = Li$ ' set the awk to the input line
Group$ = vsAwk.f(1)
Code$ = vsAwk.f(2)
Description$ = vsAwk.f(3) ' define each field of the awk
further items include
vsawk.findline = "searchstring"
vsawk.nf = no of fields
vsawk.action=acscan ' Start scanning the file again
and quite a few others.
The question is is there a similar library in B4PPC or is anyone considering writing one?
Many thanks
:sign0104: