Posted by Keith Smith on August 30, 2011 at 22:11:39:
In Reply to: Got a Comet payroll system? posted by Keith Smith on August 26, 2011 at 22:09:32:
Logging into Pennsylvania's main web site I downloaded a file that lists every municipal tax table in CSV format. It's actually NOT comma delimited but TAB $09 delimited. Doing a Q13 added it to the QDIR structure along with NOTEPAD. First text record defines the fields and is over 2700 characters. So Comet32 is in order? Here is the code segment:
LENGTH 2750 & LOCAL A$
LENGTH 4.0 & LOCAL I
0010 FORMAT A$
.
.
.
READ (1,0010)
I=LEN(A$)
I know the first READ string record length is over 2700 bytes but this LEN statement yields 1024. Thought it was MUCH higher. Am I over-looking something? Using lots of FOR/NEXT loops and SUB's, left's, middle and right's string logic to parse STATE stuff.
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.