Code Comments
Programming Forum and web based access to our favorite programming groups.Creation of the "Down Pillow" Compression Algorithm Control Codes: Step 5 of 88 I am posting a series of steps to comp.compression so that there can be an external record of my efforts to create a sucessful copy of control codes to use in the "Down Pillow" compression algorithm as discussed earlier this year. Please disregard these posts if you value your time; time is money of course. You are warned up front, so don't accuse me of wasting your time. Concern yourself only if I am sucessful. If that time comes you will have access to everything you need to know in the archive. But, if you are like me and love wasting your time on frivolous pursuits play along with me if you dare. Erik T. Evenson Step 5 of 88 Create a file where the labels 1 through 1048576 are listed in a single column using ascii with right margin alignment within eight character spaces. Give the file the name: "DPC05_01.DAT" The following is the Qbasic program that I use: ----------------------- REM PROGRAM: labelmap.bas REM This program creates an ascii file ' containing the numbers 1 to 1048576 ' and prints them to a formated ' column ascii file. OPEN "O", #1, "DPC05_01.DAT" FOR a = 1 TO 1048576 LET a2$ = SPACE$(8) LET a$ = STR$(a) RSET a2$ = a$ PRINT #1, a2$ NEXT a END ------------------------- More to follow.
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.