|
OK, still confused, but I am surrendering,
and accepting on faith (this faith derived from what each of you have said)
that my interpretation of the At () help, referenced
by the PauseLoop help, is incorrect. From my last reply addressing “If my
understanding is correct, the PauseLoop is looking for
Discharge time at position 10, 37, as stated by the re-directed reference from PauseLoop to At() ·
"[EMAIL PROTECTED],c" is
satisfied if the "string" begins
at row r, column c “ According to all of the replies that I
have received, this help is incorrect. It should read ·
"[EMAIL PROTECTED],c" is
satisfied if the "string" is to the
left of row r, column c I based my PauseLoop
logic on the original statement. It
is obviously incorrect for PauseLoop. Perhaps the “is to the left of”
should be stated explicitly in the PauseLoop help, Now
the question remains, is the original statement “begins at” correct
for At(), meaning that it is different between the two
commands. I think I will implement Scott Nathanson’s function to implement this (Thanks Scott.
Go out and buy yourself a MonsterBurger, and send me
the bill!! ;-) ) Scott, this belongs in the library if
it isn’t there already. Please submit it if you haven’t yet. Thank you to all who replied, and were
patient during my education. Yours in confusion, -----Original Message----- The example you show is
looking for data to the left of the cursor so it is only true when the cursor
is in the position that has name directly to it’s left, if the screen
looked like this Name Joe Somebody Address
123 anywhere And the cursor was
sitting at the end of the address the name check would also be true it would
just matter as to which one the loop hit first which would throw everything
off. The example I used and a
few of the others which were similar in concept work because ( I am going to
use my example because I can see where the cursor will be I would say If At(“
Name”) Then ‘could be true even if I am at address
If Col < 19 Then ‘this could only be true if I am at name
Do something
Else
At “” ‘here I must have been at address and I need to still
be able to find name so I clear the at
End if End if Let me know if this does
not clear things up for you. Thanks, Corinna -----Original Message----- OK
Corinna, you all have me completely confused now. I’m not trusting my own
instincts, and the information I am getting is just muckin’ up my mind. You say
that the PauseLoop that I am using is true the entire time I am on the screen.
I interpret this to mean that it doesn’t look to the left or right of the
cursor, it looks at the entire screen?? If so, why doe the PauseLoop
Command help text show this example? Do
'fills out name and address prompts...
PauseLoop "Name:", Name & "~"
PauseLoop "Address:", Address & "~"
PauseLoop "Zip:", Zip & "~"
Wait .1
Loop Until At("File?") '...until
complete
If my
understanding is correct, the PauseLoop is looking for Discharge time at position 10,
37, as stated by the re-directed reference from PauseLoop to At() ·
"[EMAIL PROTECTED],c" is satisfied if the "string" begins at row r, column c, What
makes your suggested “If” statement any different, except it looks
to the left with the “< 40” test. It has
been a long day of fighting this issue, and I really want to understand, but
maybe I need a new start tomorrow. Please be kind and explain it in no
more than two syllable words. J TKs -----Original Message----- I'm not
so sure that is the right fix lou, it may be just a coincidence it works but I
would not rely on it. example: PauseLoop
"Discharge [EMAIL PROTECTED],37", "~" this
will be true the entire time you are on the screen, pauseloop won't find the
same thing twice in a row so that helped it work but I don't think it is
reliable more
reliable would be something like this: If
At("Discharge Time") Then if Col < 40 then do whatever else at "" endif endif Thanks, Corinna Robertson Boston Software Systems The
Essential Tool for Healthcare Integration 866-653-5105 ext. 8 508-653-5105
|
Title: Message
- [Talk] PauseLoop issue Lew Hundley
- RE: [Talk] FW: PauseLoop issue RESOLVED Corinna
- RE: [Talk] FW: PauseLoop issue RESOLVED Lew Hundley
- RE: [Talk] FW: PauseLoop issue RESOLVED Corinna Robertson
- RE: [Talk] PauseLoop issue Lew Hundley
- RE: [Talk] PauseLoop issue Rich McNeil
- RE: [Talk] PauseLoop issue Que, Jason
- RE: [Talk] PauseLoop issue Rich McNeil
