On Tue, Dec 29, 2009 at 2:35 AM, Jean-Louis Faucher
<[email protected]> wrote:
> It works for me, with a fresh rebuild of ooRexx.
>
> This script displays 81 when run from hostemu directory :
>
> address hostemu 'execio * diskr "readme.txt" (finis stem in.'
> say in.0
> ::requires "hostemu" LIBRARY
David,
I had a little extra time today. It seems to work fine for me too. I
ran a couple variations on the above, including the hostemu.cls
program, and they all worked fine.
For example:
say 'Starting'
address hostemu 'execio * diskr "./hostemu.def" (finis stem in.'
do i = 1 to in.0
say in.i
end
return
::requires "hostemu" LIBRARY
Gives:
C:\work.ooRexx\wc\incubator\hostemu>testHostEmu.rex
HOSTEMU: Library loaded.
HOSTEMU: RexxRegisterSubcomExe retc = 0.
HOSTEMU: CreateMutex htmxExecIO = 236.
Starting
HOSTEMU: Subcom called.
HOSTEMU: Parse complete.
HOSTEMU: Executing execio statement.
HOSTEMU: Subcom return code = 0.
;/*----------------------------------------------------------------------------*/
;/*
*/
;/* Copyright (c) 2009-2010 Rexx Language Association. All rights
reserved. */
;/*
*/
;/* This program and the accompanying materials are made available
under */
;/* the terms of the Common Public License v1.0 which accompanies this
*/
;/* distribution. A copy is also available at the following address:
*/
;/* http:;;www.oorexx.org/license.html
*/
;/*
*/
;/* Redistribution and use in source and binary forms, with or
*/
;/* without modification, are permitted provided that the following
*/
;/* conditions are met:
*/
;/*
*/
;/* Redistributions of source code must retain the above copyright
*/
;/* notice, this list of conditions and the following disclaimer.
*/
;/* Redistributions in binary form must reproduce the above copyright
*/
;/* notice, this list of conditions and the following disclaimer in
*/
;/* the documentation and/or other materials provided with the
distribution. */
;/*
*/
;/* Neither the name of Rexx Language Association nor the names
*/
;/* of its contributors may be used to endorse or promote products
*/
;/* derived from this software without specific prior written
permission. */
;/*
*/
;/* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
CONTRIBUTORS */
;/* AS IS AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
*/
;/* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
*/
;/* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT */
;/* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, */
;/* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED */
;/* TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, */
;/* OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY */
;/* OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING */
;/* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
*/
;/* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
;/*
*/
;/*----------------------------------------------------------------------------*/
EXPORTS
RexxGetPackage
C:\work.ooRexx\wc\incubator\hostemu>
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Oorexx-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-devel