Nothing wrong with "TO". LIT means "literally", I usually use TO for
numbers and LIT for everything else. Using LIT with strings containing
spaces is a little clearer than using TO. The help for EQUATE states
"TO" is for equating to an expression, whereas "LIT" is for equating to
a string.
Regardi
Two things:
1. What does LIT mean?
2. How popular is having this double equate situation. What's wrong with
EQUATE ERASE TO @(-1)
I have a small pet peeve with equates like this. If not in an include it
causes the programs to become very hard to read as you're listing hundreds
of lines before you
Are you guys aware of the universe supplied include:
ATFUNCTIONS.INS.IBAS (or ATFUNCTIONS.H) which resides in .../uv/INCLUDE
Here's an extract:
EQUATE IT$CSTO -1 ;* clear screen (ANSI)
EQUATE IT$CAH TO -2 ;* cursor absolute home (ANSI)
EQUATE IT$CLEOS TO -3 ;* cle
I hope you put assignments like this in an Include. Having them loose in
each program lends itself to them being mislabeled or other problems.
My 1 cent
Mark Johnson
- Original Message -
From: "Buffington, Wyatt" <[EMAIL PROTECTED]>
To:
Sent: Thursday, March 22, 2007 8:56 AM
Subject: RE:
On Thu, 22 Mar 2007, John Jenkins wrote:
> Jason
>
> By the behaviour you describe:
>
> Sleep until a time would appear to operate as a SLEEP for the interval
> between *now* and the specified time. This would be set at the moment that
> the SLEEP is issued. E.g.
If that is how SLEEP works then
Jason
By the behaviour you describe:
Sleep until a time would appear to operate as a SLEEP for the interval
between *now* and the specified time. This would be set at the moment that
the SLEEP is issued. E.g.
At 01:00 issue a sleep 03:00 - this becomes a "sleep two hours"
Change the clocks one h
Yes, Wol.
"SYS.TERMINALS" exists on UniVerse 10.1.18.
Mike
> -Original Message-
> From: [EMAIL PROTECTED] On Behalf Of Anthony W.
Youngman
> Sent: Friday, 23 March 2007 06:35
> To: u2-users@listserver.u2ug.org
> Subject: Re: [U2] I need info on trapping the 'page up' key
> within a Un
In message <[EMAIL PROTECTED]>, Martin Phillips
<[EMAIL PROTECTED]> writes
Hi Bob,
I need info on trapping the 'page up' key within a Universe Basic program
... Can anyone point me in the right direction ?
The problem is that page up, along with many other keys, sends a
terminal type depende
What terminal emulator is in use there... Dynamic Connect, AccuTerm...?
Please advise.
--Bill
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Buffington,
Wyatt
Sent: Thursday, March 22, 2007 9:56 AM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] @VARIAB
Brutzman, Bill skrev:
What terminal emulator is in use there... Dynamic Connect, AccuTerm...?
That _should_ not matter. The @-function picks the relevant code from the
terminfo database using you TERMINAL.TYPE setting.
If ( or rather when ) the emulated terminal doesn't quite agree wit
Bob,
Have you looked at !GET.KEY?
Also for more functioality look at !PACK.FNKEYS and !EDIT.INPUT, not quite as
good as they were in PI/Open but they work.
Cheers,
Andy
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bob Utech
Sent: 22 March 2007 12:43
T
@(-4) typically clears from the current cursor position to the end of
the line, leaving the cursor position unchanged. So technically..
CRT @(2,15): @(-4):
Is effectively the same as
CRT @(2,15): @(-4): @(2,15):
Does this answer your question?
Perry
-Original Message-
From: [EMAIL
Hi
@(-4) means 'clear the screen to end of line'.
It does not reposition the cursor.
So for example in the line below it should clear any previous text from the
last entry - typically when proving a prompt.
Similarly, @(-3) clears to end of screen.
These, of course, assume that the terminal co
We define variables for the various @ statements
**Screen clearing options
CS = @(-1) ;**Clear Screen
EOS = @(-3) ;**Clear to End Of Screen
EOL = @(-4) ;**Clear to End Of Line
**Define various ways to emphasize certain data/labels
SBV = @
Hi Bob,
I need info on trapping the 'page up' key within a Universe Basic program
... Can anyone point me in the right direction ?
The problem is that page up, along with many other keys, sends a terminal
type dependent, multi-byte code.
Wouldn't it be nice if UV provided a standard routine
Hi Sanjeeb,
CRT @(2,15):@(-4):@(2,15):
Three elements:
@(2,15) positions to column 2 of line 15.
@(-4) clears the current line from the cursor position onwards.
@(2,15) positions the cursor again but is not needed as @(-4) doesn't move
it.
@(23,45)
Really? This is column 23 of line 45
> CRT @(2,15):@(-4):@(2,15):
CRT = print to the screen
@(2,15) = move the cursor to column 2, row 15
: = ...then...
@(-4) = Erase any characters found to the end of the line
: = ...then...
@(2,15) = reposition the cursor to column 2, row 15
: = ...and do not issue a at the end
-Kevin
[EMAIL PROT
The program is positioning the cursor at (2,15)... clearing the line... and
then re-positioning the cursor back at (2,15).
--Bill
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Sanjeebkumar
Sarangi
Sent: Thursday, March 22, 2007 8:52 AM
To: u2-users@listse
Bob
Assuming your terminal type is set up correctly:
$INCLUDE UNIVERSE.INCLUDE TERMINFO
GoSub GetKey
If (KEY.PREVIOUS.PAGE <> "") And (KEY.PREVIOUS.PAGE = MyKey) Then
...
* get a raw keyboard entry
* you can make this more clever e.g. look for lead in sequences etc.
GetKey:
MyKey = KeyIn
Hi
CRT @(2,15):@(-4):@(2,15):
Basically when we use @(-4) ,it should go to the end of line...but when I
tried the above statement I could not understand what it exactly did...I
also tried by giving different x and y coordinate values ..ie CRT
@(23,45):@(-4):@(23,45)..but the result seemed similar.
Bob Utech, I.S. Coordinator
Information Services Department
(218) 879-3321 ext. 175
Visit RAM on the Web at www.rammutual.com
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed. If you have receive
Hi Stewart,
First let me tell you that for actual automated testing we've had some luck
with Compuware (on the lower end), Segue (on the upper end) and I have a
client using a product from Mercury that I don't know much about. From the
"record and playback" point of view it doesn't matter so muc
Stewart
Is this for new or existing software ?
One convention I adopt is to a) code all business logic in reusable BASIC
subroutines and b)adopt a single calling convention for those subroutines - in
my case this is simply:
SUBROUTINE MySub(InData, OutData, ErrText)
or in some cases
SUBROUTI
23 matches
Mail list logo