For Programmers: Free Programming Magazines  


Home > Archive > Clarion > August 2006 > Re: Driver strings









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Driver strings
Nelson Kaye

2006-08-15, 9:55 pm

Lee,
I gather that the ASCII will not do the trick.

I will try the DOS approach and let you know my successes or failings!

Thanks,
Nelson

"Lee White (Lodestar Software)"
< svng_REMOVE_THIS_@_AND_THIS_lodestarsoft
ware.com> wrote in message
news:f5r4e2586ieeunvto5sunplbuun1m7haak@
cwaddons.com...
> Nelson,
>
field[color=darkred]
the[color=darkred]
>
> Unless you change it the default end of record is CR LF, you don't
> need to add it. If you're using the default end of record and you add
> CR LF to the middle of a record it becomes two records.
>
is[color=darkred]
>
> If you want variable length records consider using the DOS driver and
> appending CR LF at the end of each record. With the DOS driver you can
> specify the byte length of each chunk added. Just make the record
> large and then...
>
> <field> = SUB(<data> & ' {length}', 1, <length> ) & CR & LF
> ADD(<field>,<length+2> )
>
> Also keep in mind that you cannot PUT() more or less than you GET() in
> either driver without problems.
>
> --
> Lee White
>
> http://CWaddons.com
> http://LodestarSoftware.com
> http://DeveloperPLUS.com
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2009 codecomments.com