In reply to a previous question (the e-mail of which I've already deleted--oops), the current sentence stack is accessible from UV Basic in system(33). Note, however, that the documentation in both the 10.2 manual (the only one I checked) and the 10.2 online help is incorrect. It states that system(33) "Returns the last command on the command stack." In fact, the entire stack is returned using @fm as the delimiter.

--

Regards,

Clif

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
W. Clifton Oliver, CCP
CLIFTON OLIVER & ASSOCIATES
Tel: +1 619 460 5678    Web: www.oliver.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


$uv
UniVerse Command Language 10.2
(c) Copyright IBM Corporation 2006. All rights reserved.
coliver logged on: Mon Jul 16 13:53:08 2007

DEC vt200/vt220 8 bit terminal (vt220)
>.l
01 LOGIN
>who
29 coliver
>TIME
14:25:14 16 JUL 2007
>ED BP SYSTEM33
7 lines long.

----: P
0001:       dyn = system(33)
0002:       dynNdxLast = dcount(dyn, @fm)
0003:       for dynNdx = 1 to dynNdxLast
0004:          crt fmt(dynNdx, "R## ") : dyn<dynNdx>
0005:       next dynNdx
0006:       stop
0007:    end
Bottom at line 7.
----: EX
>RUN BP SYSTEM33
1 RUN BP SYSTEM33
2 ED BP SYSTEM33
3 TIME
4 who
5 LOGIN
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to