1. Hey PETE EBERLEIN
Regarding your WEE, when I try to "Edit" it from a drop-down menu, as defined
in File Types, it opens WEE but doesn't load my file.
You know what I should do to get it to load the file?
I'm using "c:\wee.exe" %1
Lemme know if you got a clue.
ck
2. Re: Hey PETE EBERLEIN
Dou you come from UNIX?.
In MSDOS/WINDOWS command language, parameters are %n%, not %n.
Hope this works.
Jesús.
> -----Mensaje original-----
> De: Euphoria Programming for MS-DOS
> [mailto:EUPHORIA at LISTSERV.MUOHIO.EDU]En nombre de C & K L
> Enviado el: jueves 1 de octubre de 1998 14:31
> Para: EUPHORIA at LISTSERV.MUOHIO.EDU
> Asunto: Hey PETE EBERLEIN
>
>
> Regarding your WEE, when I try to "Edit" it from a drop-down
> menu, as defined
> in File Types, it opens WEE but doesn't load my file.
>
> You know what I should do to get it to load the file?
>
> I'm using "c:\wee.exe" %1
>
> Lemme know if you got a clue.
> ck
>
3. Re: Hey PETE EBERLEIN
In wee.exw,
Add the following lines to WinMain() if they're not there already.
sequence cmdline
cmdline = command_line()
Then after
new_file()
insert the lines
if length(cmdline) > 2 then
open_file(cmdline[3])
end if
That should do it.
And Jesus, %1 is correct for reading the first argument in msdos.
But when I created Edit under file types, the %1 wasn't neccessary.
Hmmm..
Later,
_______ ______ _______ ______
[ _ \[ _ ][ _ _ ][ _ ]
[/| [_] |[/| [_\][/ | | \][/| [_\]
| ___/ | _] | | | _]
[\| [/] [\| [_/] [\| |/] [\| [_/]
[_____] [______] [_____] [______]
xseal at harborside.com ICQ:13466657
http://www.harborside.com/home/x/xseal/euphoria/