Memory usuage reduction

This is a discussion on Memory usuage reduction within the REXX forums in Programming Languages category; ML wrote: > [K:\]compare > SYS1041: The name compare is not recognized as an > internal or external command, operable program or batch file. > > [K:\]compare.rex > SYS0193: K:\COMPARE.REX cannot be run in a OS/2 session. I suspect Mr. Swift was running Rexx/ORexx on a platform other than OS/2. Rexx programs on OS/2 must have the .CMD extension. -- Michael Lueck Lueck Data Systems http://www.lueckdatasystems.com/...

Go Back   Application Development Forum > Programming Languages > REXX

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #11  
Old 09-05-2008, 10:19 PM
Michael Lueck
Guest
 
Default Re: Memory usuage reduction

ML wrote:

> [K:\]compare
> SYS1041: The name compare is not recognized as an
> internal or external command, operable program or batch file.
>
> [K:\]compare.rex
> SYS0193: K:\COMPARE.REX cannot be run in a OS/2 session.


I suspect Mr. Swift was running Rexx/ORexx on a platform other than OS/2.

Rexx programs on OS/2 must have the .CMD extension.

--
Michael Lueck
Lueck Data Systems
http://www.lueckdatasystems.com/
Reply With Quote
  #12  
Old 09-06-2008, 02:36 AM
ML
Guest
 
Default Re: Memory usuage reduction


>> SYS0193: K:\COMPARE.REX cannot be run in a OS/2 session.


> I suspect Mr. Swift was running Rexx/ORexx on a platform other
> than OS/2.


Hence my earlier ";-)". With an interpreter-specific problem it was
already known that other interpreters don't show this problem. His use
of ".REX" already was a helpfull clue w.r.t. that issue. And it's about
ORexx (executing a CRexx app), not "Rexx/ORexx". Because that should
be the best default CRexx interpreter, e.g. supporting 3 Date()-BIF
arguments without having to write that myself in CRexx.

FTR: I haven't tried OO-versions of ='', DROP nor buffers. I've never
seen any OO'ed *.BAT-like apps, so actually using OO would be rather
weird. At least according to the rest of the world. Memory management
ought to be the same, so I'ld guess using OO-versions would fail too.
IIRC IBM's commercial *.REX-interpreter also had issues w.r.t. "huge"
numbers without proper free()'s, but that was fixed later.

IRL I'll try "SysOpenObject(nextstep);'@EXIT'". And I'll look at some
more difficult optimizing, but that may be the difference between a
reboot every hour and a reboot every odd hour.



---
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 08:24 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.