For some reason either Universe on Windows does this, or are particular users
are doing something where a large number of processes are left "running dead"
on the Windows server. That is, the process *claims* to be a telnet process,
but it's not actually attached to any live Universe proces
I may be sending you down the wrong road, but, these thoughts came to mind.
I've never done it in Windows, but, I've had a little experience doing it
in Linux.
In Linux, and I may be wrong... but, I think the way it works is that the
telnet or ssh process is the parent process. So the uvsh proce
Sorry but I always thought iterpolation means describing a mathematical
function like Y=2X for instance by producing a graph from it or
describing key parameters in a system of coordinates (x,y) like where it
crosses the y- or x-axis, if it rises or falls and in which degree etc. .
On 24/0
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 Coldstr
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
if this is what he wants - I've seen it done with pre compiler type options
that injects the code dynamically. but I may not understand the
question as well...
On Fri, Aug 24, 2012 at 12:44 PM, Martin Phillips <
martinphill...@ladybridge.com> wrote:
> Hi,
>
> I am intrigued by this thread, m
http://www.thefreedictionary.com/interpolation
in·ter·po·late (n-tûrp-lt)
v. in·ter·po·lat·ed, in·ter·po·lat·ing, in·ter·po·lates
v.tr.
1. To insert or introduce between other elements or parts.
2.
a. To insert (material) into a text.
b. To insert into a conversation. See Synonyms at introduce.
3
If the goal is to generate several variables by building variable names in
a loop from text, like you can do in UNIX script, PERL, PHP, etc. I don't
think you can do that in UniBasic. There nearest thing I can think of is
to use a dynamic array. Maybe I am misunderstanding what you are trying
The OP is describing an "evaluate" function that executes code on the
fly based on variable values. See JavaScript's eval() function for a
similar concept.
For example, maybe I have some variables like WIDGET and EVENT, and I
want to dynamically generate the label to an internal subroutine:
EVAL
Guys,
I may be way off base but I have a program that takes basic code from the
command line, compiles and runs it.
For example:
>01 RUNBASIC CRT SYSTEM(2) ; CRT SYSTEM(3)
79
24
>
RUNBASIC is the program and CRT SYSTEM(2) ; CRT SYSTEM(3)
On 24/08/12 14:54, Wjhonson wrote:
>
>
>
> For some reason either Universe on Windows does this, or are particular users
> are doing something where a large number of processes are left "running dead"
> on the Windows server. That is, the process *claims* to be a telnet process,
> but it's
Are you saying this would run *in* a BASIC program?
Or at TCL?
-Original Message-
From: Rex Gozar
To: U2 Users List
Sent: Fri, Aug 24, 2012 12:16 pm
Subject: Re: [U2] Variable Interpolation
The OP is describing an "evaluate" function that executes code on the
fly based on variable v
i agree with marc, please define the question more betterer
this kinda falls into the eschew obfuscation category
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Marc Harbeson
Sent: Friday, August 24, 2012 11:16 AM
AHHH obfuscation, one of my favorite 50 cent words!
-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Allen E. Elwood
Sent: Friday, August 24, 2012 3:33 PM
To: 'U2 Users List'
Subject: Re: [U2] Variable Interpolation
01 RUNBASIC "EXECUTE \SH -c 'rm -rf /'\"
;-(
> -Original Message-
> From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-
> boun...@listserver.u2ug.org] On Behalf Of Don Robinson
> Sent: 25 August 2012 6:54 a.m.
> To: U2 Users List
> Subject: Re: [U2] Variable Interpolation
>
> Gu
Not as old as 9.6
We're running 10.2
It's not locking anything up as far as I can see, it's just odd and probably
shouldn't be there.
-Original Message-
From: Wols Lists
To: U2 Users List
Sent: Fri, Aug 24, 2012 12:37 pm
Subject: Re: [U2] CPU Charge Units
On 24/08/12 14:54, Wjhonso
Hopefully your sysadmin has not given Universe global admin rights
-Original Message-
From: Phil Walker
To: U2 Users List
Sent: Fri, Aug 24, 2012 1:49 pm
Subject: Re: [U2] Variable Interpolation - UV INJECTION
01 RUNBASIC "EXECUTE \SH -c 'rm -rf /'\"
;-(
> -Original Message---
FFT.BP 'TRY' BASIC 27 lines Level: 9
*
* Run any BASIC code typed at TCL
* Writen Aug 2012 by Will Johnson based on a comment by Don Robinson
* Released under CC-BY-2.0 license
*
SENT = @SENTENCE
OFFSET = 1 ; VERB = FIELD(SENT,' ',OFFSET)
IF VERB = 'RUN' OR VERB = 'RAID'
Oops there's a bug.
Right after the line that starts OFFSET += 1 should be yet another OFFSET += 1
so the corrected version should read
IF VERB = 'RUN' OR VERB = 'RAID' THEN
OFFSET += 1 ; N.FILE = FIELD(SENT,' ',OFFSET)
OFFSET += 1
END ELSE OFFSET += 2 ; N.FILE
So what exactly do you mean by interpolation?
If you google "variable interpolation" you can find a bunch of examples from
other languages, such as:
for($i=1;$i<=15;$i++)
{
${'test_'.$i} = $i;
}
There's nothing like this in any mv implementation that I know of. In mv you
would probably us
20 matches
Mail list logo