[U2] Opening UniBasic Source Code Into A UniBasic

2009-05-20 Thread Brutzman, Bill
I am writing on how to open a Unix file of UniBasic source code.

When I try a 


  openpath '/u2/SOFTWARE/BP/BASELINE.R0'  to  F.This  then
   crt 'OK'
  end else

crt 'Error'
  end

*---
---
The.End:

  crt status()
  crt
  crt ' [] ' :

  input Ans

  crt @(-1)

  END 

*---
-

02 RUN BP FILESCAN.R0
Error
-7

 []

Where -7 is InValid file revision or wrong byte-ordering for the
platform.

The platform is UniVerse v10.1 on HP-Ux 11i v2.

Suggestions would be appreciated.

--Bill
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Opening UniBasic Source Code Into A UniBasic

2009-05-20 Thread Mark Eastwood
Is BASELINE.RO a Program? If so, then you just want to open the BP (i.e.
remove program from path), then READ program as you would any item.

Mark


-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Brutzman, Bill
Sent: Wednesday, May 20, 2009 1:35 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Opening UniBasic Source Code Into A UniBasic

I am writing on how to open a Unix file of UniBasic source code.

When I try a 


  openpath '/u2/SOFTWARE/BP/BASELINE.R0'  to  F.This  then
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


Re: [U2] Opening UniBasic Source Code Into A UniBasic

2009-05-20 Thread Jeff Schasny
Make sure your bp file is a type 19 not a type 1

Brutzman, Bill wrote:
 I am writing on how to open a Unix file of UniBasic source code.

 When I try a 


   openpath '/u2/SOFTWARE/BP/BASELINE.R0'  to  F.This  then
crt 'OK'
   end else
   
 crt 'Error'
 end

 *---
 ---
 The.End:

   crt status()
   crt
   crt ' [] ' :

   input Ans

   crt @(-1)

   END 

 *---
 -

 02 RUN BP FILESCAN.R0
 Error
 -7

  []

 Where -7 is InValid file revision or wrong byte-ordering for the
 platform.

 The platform is UniVerse v10.1 on HP-Ux 11i v2.

 Suggestions would be appreciated.

 --Bill
 ---
 u2-users mailing list
 u2-users@listserver.u2ug.org
 To unsubscribe please visit http://listserver.u2ug.org/

   

-- 

Jeff Schasny - Denver, Co, USA
jschasny at gmail dot com

---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Opening UniBasic Source Code Into A UniBasic

2009-05-20 Thread Brutzman, Bill
Yes... BASELINE.R0 is a program. 

-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Mark Eastwood
Sent: Wednesday, May 20, 2009 4:46 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Opening UniBasic Source Code Into A UniBasic

Is BASELINE.RO a Program? If so, then you just want to open the BP (i.e.
remove program from path), then READ program as you would any item.

Mark


-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Brutzman, Bill
Sent: Wednesday, May 20, 2009 1:35 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] Opening UniBasic Source Code Into A UniBasic

I am writing on how to open a Unix file of UniBasic source code.

When I try a 


  openpath '/u2/SOFTWARE/BP/BASELINE.R0'  to  F.This  then
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/


RE: [U2] Opening UniBasic Source Code Into A UniBasic

2009-05-20 Thread Symeon Breen
Have you copied these programs over from another host - esp another host
with a different endian processor ?   you may need to do a fnuxi or such
thing on the code.

-Original Message-
From: owner-u2-us...@listserver.u2ug.org
[mailto:owner-u2-us...@listserver.u2ug.org] On Behalf Of Brutzman, Bill
Sent: 20 May 2009 21:35
To: u2-users@listserver.u2ug.org
Subject: [U2] Opening UniBasic Source Code Into A UniBasic

I am writing on how to open a Unix file of UniBasic source code.

When I try a 


  openpath '/u2/SOFTWARE/BP/BASELINE.R0'  to  F.This  then
   crt 'OK'
  end else

crt 'Error'
  end

*---
---
The.End:

  crt status()
  crt
  crt ' [] ' :

  input Ans

  crt @(-1)

  END 

*---
-

02 RUN BP FILESCAN.R0
Error
-7

 []

Where -7 is InValid file revision or wrong byte-ordering for the
platform.

The platform is UniVerse v10.1 on HP-Ux 11i v2.

Suggestions would be appreciated.

--Bill
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/