🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Keith Bennett Fri, 31 Jan 1997 00:00
Why doesn't sourceline() work in VX-Rexx?
#4912
Author: Keith Bennett
Date: Fri, 31 Jan 1997 00:00
21 lines
1298 bytes
Is there some reason I can't get sourceline( x) to work in a VX-Rexx
app?  I have the following in my VX-Rexx program to illustrate the
problem:

signal on novalue name ErrorNoValue
say sourceline( 1)

I get an error message box which says:

Line x of MyProcedure in MYPROG.VRM:
Say sourceline(1);

Anyone know why this is?  Thanks for any help.

- Keith
-- 
--------------------------------------------------------------------------
Keith Bennett                             Bennett Business Solutions, Inc.
Silver Spring, MD USA                     OS/2 & DOS Software Development
kbennett@cpcug.org                        (301) 871-7696
Re: Why doesn't sourceline() work in VX-Rexx?
#4913
Author: Dick Goran
Date: Sat, 01 Feb 1997 00:00
24 lines
1801 bytes
Keith Bennett wrote:
> 
> Is there some reason I can't get sourceline( x) to work in a VX-Rexx
> app?  I have the following in my VX-Rexx program to illustrate the
> problem:

The source line is not available if you have created an .EXE from your
VRX file. The way to overcome this for testing is to run your VX-REXX
project from the command line using VRX.EXE project. You must also be
sure to create a macro file (project.VRM).

You will then be able to run your project like any other "ugly-mode"
(i.e. command line) program.

 --------------------------------------------------------------
 Dick Goran            author, REXX Reference Summmary Handbook
 C F S Nevada, Inc.     Contrib. Ed., Personal Systems Magazine
 953 E. Sahara Ave, Suite 9B                     [OS/2 Advisor]
 Las Vegas, NV 89104-3012          CompuServe:       71154,2002
 702-732-9616 Voice                Internet: dgoran@cfsrexx.com
 702-732-3847 FAX
                    http://www.cfsrexx.com
              (see our new OS/2 game - CFSPoker)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads