veekee
17th October 2002 08:48 UTC
DetailPrint changes
Would it be possible to change some things with the DetailPrint command .. i mean, could we be able to choose whether we add a carrier return at the end of the string or not (or add a new function that won't add that character) !
With that, we would be able to have texts like :
Installing core files [success]
or
Installing core files [error]
Julien
shantanu_gadgil
17th October 2002 15:00 UTC
I am a bit confused with what exactly you want :(. Could the following code help?
------------
DetailPrint " "
SetDetailsPrint none
----------------
which will introduce an empty line and then stop printing anything
- Shantanu
kichik
17th October 2002 16:27 UTC
I will add this when I add the percentage printing of file extraction.
veekee
18th October 2002 14:54 UTC
answering shantanu_gadgil
I just wanted to know if it would be possible to use something like
DetailPrintWithoutLine "Extracting code file "
File program.exe
IfError 0 2
DetailPrint "[error]"
Goto after
DetailPrint "[ok]"
after:
This code would print either:
Extracting code file [ok]
or, if any error ocured :
Extracting code file [error]