[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Re:RE: Stata and WinEdt as text editor
Nick Cox wrote:
>> I am sorry if this is slightly OT. I would like to use my
>> favourite Editor
>> (WinEdt) for do-file editing. After having read
>> http://fmwww.bc.edu/repec/bocode/t/textEditors.html , I
>> wrote the following
>> program and stored it in an ado-file:
>> program winedt
>> version 8
>> * discard
>> winexec "D:\Programme\WinEdt\WinEdt.exe" `*'
>Nothing OT about this at all.
> version 8
> * discard
> if "`*'" != "" local file "`c(pwd)'\`*'"
> winexec "D:\Programme\WinEdt\WinEdt.exe" `"`file'"'
thanks a lot for your suggestion. Two slight modifications were necessary
to make things work.
Here is the code:
if "`*'" != "" local file "`c(pwd)'/`*'"
winexec "D:\Programme\WinEdt\WinEdt.exe" `file'
>Evidently we need a volunteer to write a WinEdt section
>for this FAQ....
If I'll ever work out how to set everything up properly in WinEdt, I'd be
glad to contribute.
University of St. Gallen
CH-9000 St. Gallen
Tel: +41-71-224 23 13
Fax: +41-71-224 23 02
* For searches and help try: