![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Dear Group, I am looking for advise on producing a 25 megabyte item (with 25k attributes/lines of 1k characters each) that will be shared with the Windows world. Are d3 print files a good idea, or should I consider building a large dimensioned array with flashbasic? I would appreciate your opinion. Rob |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
Dont know about D3 but on U2 I would probably use openseq/writeseq to read/write large os files. |
#5
| |||
| |||
|
|
Dear Group, I am looking for advise on producing a 25 megabyte item (with 25k attributes/lines of 1k characters each) that will be shared with the Windows world. Are d3 print files a good idea, or should I consider building a large dimensioned array with flashbasic? I would appreciate your opinion. Rob The spooler is a great way to build a large text item. The TERM |
#6
| |||
| |||
|
|
I am looking for advise on producing a 25 megabyte item (with 25k attributes/lines of 1k characters each) that will be shared with the Windows world. Are d3 print files a good idea, or should I consider building a large dimensioned array with flashbasic? |
MyDosFiles
#7
| |||
| |||
|
#8
| |||
| |||
|
#9
| |||
| |||
|
|
In D3/Windows include dm,bp,unix.h fcntl.h open "dos:c:/" to cfile open "file" to workfile bf="" write bf on cfile,"dosfile" close cfile fd=%open("c:/dosfile",O$RDWR) select workfile wtext="" loop readnext id else exit readv rec from workfile,id,1 then wtext=rec<1>:char(13):char(10) nbytes=len(wtext) if %write(fd,wtext,n_bytes) < n_bytes then print "Error writing" end end repeat if %close(fd) # 0 then print "Error closing the file" end In D3/nix The same but use /path, not c:/path compile it using: compile fileprog progname (fo The one that asked this in RD forums used to use OSFI and dynamic arrays and when the file was big he used Accuterm. In the best of his tests it takes one hour to create (transfer) a 13MB file. When he test my program it takes 10 SECONDS to create a 100MB file. And THIS IS THERE since AP/DOS, some years ago Hope this help joseba |
#10
| |||
| |||
|
|
I have asked google and find out this on 1996: ON 1996, 9 years ago. |
![]() |
| Thread Tools | |
| Display Modes | |
| |