I wonder if he is trying to add some of the features that C/unix have as
far as imbedding commands within commands. Sometimes there is an
application for it; it saves typing. Even the old PRIMOS OS had what was
called command 'iteration'. A command like this:
yourprimoscommandhere
verylonglistofcommandlineparametershere(A,B,C,D,E,F,G,H)therestofthecommandhere
Would execute a list of commands like this:
yourprimoscommandhere
verylonglistofcommandlineparametershereAtherestofthecommandhere
yourprimoscommandhere
verylonglistofcommandlineparametershereBtherestofthecommandhere
yourprimoscommandhere
verylonglistofcommandlineparametershereCtherestofthecommandhere
yourprimoscommandhere
verylonglistofcommandlineparametershereCtherestofthecommandhere
yourprimoscommandhere
verylonglistofcommandlineparametershereDtherestofthecommandhere
yourprimoscommandhere
verylonglistofcommandlineparametershereEtherestofthecommandhere
yourprimoscommandhere
verylonglistofcommandlineparametershereF,therestofthecommandhere
yourprimoscommandhere
verylonglistofcommandlineparametershereGtherestofthecommandhere
yourprimoscommandhere
verylonglistofcommandlineparametershereHtherestofthecommandhere
In some cases there is typing saved when using iteration, especially if
doing multiple executions of the primary command, under program control,
for every server on the network let's say.
Robert Norman
ROBERT NORMAN AND ASSOCIATES
23441 Golden Springs Dr., #289, Diamond Bar, CA 91765
(951) 541-1668
i...@keyway.net <mailto:i...@keyway.net>
http://users.keyway.net/~ice/ <http://users.keyway.net/%7Eice/>
Affordable UNIDATA programming services for PICK/BASIC, DATA/BASIC, UniVerse
Basic, UniBasic, R/BASIC, jBC.
On 8/24/2012 10:38 AM, Wjhonson wrote:
The impression I get from this thread is something like
Oh I've just read on the HELP pages that System(2) tells me the width of my CRT
screen.
Let me ask my process what it has as the value for System(2).
Oops I have to write a program just to tell me that.... that's too much trouble.
Why can't it just have a way to *tell* me ?
Why!!!!
-----Original Message-----
From: Martin Phillips <martinphill...@ladybridge.com>
To: 'U2 Users List' <u2-users@listserver.u2ug.org>
Sent: Fri, Aug 24, 2012 10:11 am
Subject: Re: [U2] Variable Interpolation
Hi,
I am intrigued by this thread, mostly because I have not understood why I would
want it.
If I can write
CALL @"SUB FOO(X,Y);Y=X+1;RETURN"( 3, VAL )
as suggested, why don't I just write the code inline in my program. What have I
missed?
Martin Phillips
Ladybridge Systems Ltd
17b Coldstream Lane, Hardingstone, Northampton NN4 6DB, England
+44 (0)1604-709200
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
_______________________________________________
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users