Guidance
指路人
g.yi.org
Guidance Forums / Rapid-Q Basic / how to get rc.exe compiler result?

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. how to get rc.exe compiler result?
#625
Posted by: 2002-10-31 18:54:20
does anyone know how I can get the compiler-result of the rc.exe from the dos box into a file or into a QRichtEdit??

thanx for hlp
Message2. Re: how to get rc.exe compiler result?
#626
Posted by: guidance 2002-10-31 19:58:34
DOS redirect doesn't work?

e.g:
rc yoursource.bas > output.txt

or check example(RapidQ ++ Visual Ide.bas):
http://citymap.getmyip.com/_scripts/file.php?f=1467&r=2330
Message3. Re: how to get rc.exe compiler result?
#627
Posted by: 2002-10-31 21:20:17
bad expression; I mean the debug result

your know what I mean?
Message4. Re: how to get rc.exe compiler result?
#628
Posted by: guidance 2002-11-01 07:42:35
Why not? Have you tried with an buggy code?
In fact, RC.exe only gives compile-time errors, no run-time debug information.
Message5. Re: how to get rc.exe compiler result?
#634
Posted by: 2002-11-04 15:31:32
hi, guidance

pls explain:
DOS redirect
e.g:
rc yoursource.bas > output.txt


I' am a newbee!

What I wanna have are the same results appearing at the bottom
of the RQ-IDE when I compile my file. But I need the rusult in my programs RichEDIT
Message6. Re: how to get rc.exe compiler result?
#637
Posted by: guidance 2002-11-04 20:41:15
Open your DOS command line box, "cd" to the directory you installed Rapid-Q, type

rc yoursource.bas > output.txt

after c:>

Replace yoursource.bas with your real source file name. Then you will find a file named output.txt in the same directory of rc.exe, check that text file.
Message7. Re: how to get rc.exe compiler result?
#638
Posted by: 2002-11-04 21:09:25
sorry for beeing so studpid - it works well but I didn't understood it the first time

this is exaclty what I need

thanx again
Message8. Problem
#639
Posted by: guidance 2002-11-04 22:08:08
But it doesn't work with RQ statement "RUN", seems redirect is not supported by RUN (however, RUN a .BAT files with redirect inside is reported successfully).
Check the example I mentioned above, use dump.$$$ file created by rc.exe instead.

Or try shell.
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
¥1,390.00 ·
 
 
¥287.00 ·
 
 
¥410.00 ·
 
 
¥1,380.00 ·
 
 
¥1,080.00 ·
 
 
¥271.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0