Sorry for the late reply - I have just been doing the same research for
myself.
The best txt to pdf converter (COMMAND LINE) I have found is @
www.metaformixis.com\tools\tools.html call
txt2pdf @ it works great and is 100% free. Plus:You can set margins, font
size, and various other options.
Go
GOTOwww.tudogs.com and in the search type in office.
Regards
Bjorn
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 07 January 2005 07:02
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] free txt-to-pdf converter
MS Word
We are running UniData 5.2 on AIX 4.3.2.
I have defined 16 alternate indices on a file.
I have always ASSUMED (why?) that when a record is written that all indices
are updated, even when values have not changed. I have run into some index
behavior that shows that I am mistaken and that the
For instance.
FOR T=1 TO 10
FOR Q=1 TO 6
FOR X=1 TO 9
IF CONDITION THEN EXIT ; EXIT
OR
IF CONDITION THEN CONTINUE T
NEXT X
NEXT Q
NEXT T
So the point being if a condition occurs, I want to stop
the x and q loops
AFAIK the best way of doing this without the GOTO would be to set flags:
EXIT.FLAG = ''
CONT.FLAG = ''
FOR T=1 TO 10
FOR Q=1 TO 6
FOR X=1 TO 9
IF CONDITION THEN EXIT.FLAG = 1
IF CONDITION THEN CONT.FLAG = 1
IF CONT.FLAG THEN CONTINUE
IF EXIT.FLAG THEN EXIT
NEXT X
This works regardless of OS you're on:
FOR T=1 TO 10
FOR Q=1 TO 6
FOR X=1 TO 9
IF CONDITION THEN X=9 ELSE
IF CONDITION THEN
X = 9 ; Q = 1
END
END
NEXT X
NEXT Q
NEXT T
Steve Trimble
Computerized Data Management, Inc.
PO Box
How about:
FOR T=1 TO 10
FOR Q=1 TO 6 UNTIL CONDITION
FOR X=1 TO 9 UNTIL CONDITION
... Do stuff ...
NEXT X
NEXT Q
NEXT T
Larry Hiscock
Western Computer Services
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
or maybe
FOR T=1 TO 10
FOR Q=1 TO 6
FOR X=1 TO 9
IF CONDITION THEN
x=99
q=99
EXIT
end
NEXT X
NEXT Q
NEXT T
This e-mail, including attachments, may include
What about using the FOR Q=1 to 6 UNTIL DONE.Q.LOOP form and then set
DONE.Q.LOOP where you currently have the EXIT. You may be able to use the same
variable on each loop - I've never had the occasion to nest them before like
that. Just don't forget to initialize it to 0 each time through the T
Too bad we don't have a try/catch exception mechanism.
Here's 2 examples. They both present maintenance problems. In the first
example, you will have to test the q.done and t.done variables if there is
any code between the next x and the next q. In the second example, the
return is nice and clean,
This can cause problems if somewhere in the loops you have something like
OUTPUT = DATA.REC1,X
!!!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of CDMI
Sent: Monday, January 10, 2005 11:22
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] How to exit out
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of George Gallen
So the point being if a condition occurs, I want to stop
the x and q loops entirely, and continue on with the
next t iteration.
How about:
TRUE = (1 EQ 1) ;* If not otherwise defined
Some sites of interest.
The following is a Linux GUI IDE for mono (.Net for Linux)
http://www.monodevelop.com/
The following is an implementation of java for mono and .Net
http://www.ikvm.net/#IKVM.NET+Components
Regards
David Jordan
Founding U2UG Director
---
u2-users mailing list
sorry - Q = 10 not Q = 1
Can't type :(
Steve T
Computerized Data Management, Inc.
PO Box 3473
Fayetteville, AR 72702
(479) 521-5670 9:00am - 6:00pm CST
[EMAIL PROTECTED]
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
That is why I put in the CONTINUE on the same line as the re-assignment
That will force it to the next iteration which then will drop to the
next loop, and drop to next loop and continue from there. If there were
and references to ,x X will have been re-initiali[z|s]ed on it's next
way
unsubscribe
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kevin King
Sent: Monday, January 10, 2005 12:46 PM
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] How to exit out mulitple loops?
-Original Message-
From: [EMAIL PROTECTED]
Dang, I hate it when the list is quiet and my e-mail server is slow. Although I
hadn't thought of the gosub solution
Colin Alfke
-Original Message-
From: Alfke, Colin
What about using the FOR Q=1 to 6 UNTIL DONE.Q.LOOP form and
then set DONE.Q.LOOP where you currently have the
Well, I would just use control variables. Six additional lines, but hey,
close enough ...
tloop.flag = @true
FOR T=1 TO 10 while tloop.flag
qloop.flag = @true
FOR Q=1 TO 6 while qloop.flag
xloop.flag = @true
FOR X=1 TO 9 while xloop.flag
xloop.flag = @false
TRUE = (1 EQ 1) ;* If not otherwise defined
FALSE = NOT(TRUE) ;* If not otherwise defined
Just use @TRUE and @FALSE variables U2 already gives us.
VLIST of example in Universe:
1: IF @TRUE THEN CRT 'YES'
1 0 : 2DE testfw 1 E:
1 8 : 046 crtcrlf
oh!... oh!... oh!
maybe
done_t=0
FOR T=1 TO 10 until done_t
done_q = 0
FOR Q=1 TO 6 until done_q
done_x = 0
FOR X=1 TO 9 until done_x
IF CONDITION THEN
done_x = 1;done_q = 1
EXIT
end
I did not know that! I guess you can teach an old dog new tricks!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stevenson,
Charles
Sent: Monday, January 10, 2005 1:42 PM
To: u2-users@listserver.u2ug.org
Subject: [U2] @TRUE, @FALSE
TRUE = (1 EQ 1)
U2logic, Inc a leading IBM VAR, is looking for several Universe/Unidata
programmer. RedBack and SB+ experience is a plus. Excellent working
environment with 100% company paid health and dental benefits.
[EMAIL PROTECTED]
1-866-XLr8me2 (1-866-957-8632)
---
u2-users mailing list
I don't see the original post that this is a REply for - was there one?
If you want to use mono over Windows, then check out SharpDevelop.
http://www.sharpdevelop.com/
I'm doing QA of some new documentation for installing MonoDevelop. With
all of the dependencies and default pathing that
23 matches
Mail list logo