![]() |
||
| Home | SwiftForth Archive | SwiftX Archive | |

Thanks Rick.
>
> This is a precompiled existing function in SwiftForth.
>
> \ name of a program that windows can "run" and that the rest of
> \ the string is the command line to pass to it
>
> : >SHELL ( addr n -- ) 512 R-ALLOC >R
> BL SKIP 2DUP BL SCAN 2SWAP THIRD -
> ( a n a n) R@ ZPLACE R@ 256 + ZPLACE
> HWND 0 R> DUP 256 + 0 SW_NORMAL ShellExecute SHELLERR ! ;
>
> S" MY.EXE" >SHELL
>
> Thursday, August 29, 2002, 3:08:00 PM, you wrote:
>
> AoD> Hello again,
>
> AoD> I am adding an exe that is a short ebook to the help file menu.
> AoD> Are there some examples of using code
> AoD> to run an exe?
>
> ----------------------------------------------------------------------
> sftalk_at_forth.com The SwiftForth programming discussion email list
> To unsubscribe, send subject "unsubscribe sftalk" to listar_at_forth.com
> For help with listar commands, send subject "help" to listar_at_forth.com
> Archives are located at http://www.forth.com/sftalk -- check them out!
> Search the archives! Visit http://www.forth.com/search for details.
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.384 / Virus Database: 216 - Release Date: 8/21/2002 ---------------------------------------------------------------------- sftalk_at_forth.com The SwiftForth programming discussion email list To unsubscribe, send subject "unsubscribe sftalk" to listar_at_forth.com For help with listar commands, send subject "help" to listar_at_forth.com Archives are located at http://www.forth.com/sftalk -- check them out! Search the archives! Visit http://www.forth.com/search for details.Received on Thu Aug 29 2002 - 15:59:24 PDT
This archive was generated by hypermail 2.2.0 : Fri Nov 21 2008 - 03:04:24 PST