Marco,
You need to look at the result (in this case, 6.71509648127128E-02)
and see if you have an 'E', if so, you need to unconvert the scientific
notation before formatting. That will work in both systems.
IF INDEX(RESULT,'E,1) THEN
GOSUB CONVERT.SCINOTE
END
PRINT
I will be out of the office starting 19/12/2005 and will not return until
29/12/2005.
Pour les clients accidant au Support Technique des produits IBM U2,
veuillez renvoyer votre message sur : [EMAIL PROTECTED]
Merci
For non-french speaking customers : If your IBM U2 products Technical
The proliferation of modern programming languages (all of which seem to have
stolen countless features from one another) sometimes make it difficult to
remember what you're currently using. This guide is offered as a public
service to help programmers who find themselves in such dilemmas.
C:
Correction:
0001: RESULT = 6.71509648127128e-02
0002: IF INDEX(RESULT,E,1) THEN
0003: GOSUB CONVERT.SCINOTE
0004: END
0005: PRINT FMT(RESULT,'R9')
0006: STOP
0007: CONVERT.SCINOTE:
0008: SCIBASE = OCONV(RESULT,'G0E1')
0009: SCIFACT =
Chuck,
You were right first time. Must be the hour.
Number = 1.234567E+14
Base = Number[E,1,1]
Factor = Number[E,2,1]
Multiplier = 1 : Str(0, Factor)
If Factor 0 Then
Result = Base / Multiplier
End Else
Result = Base * Multiplier
End
Crt Result
Should give: 1234567
Brian
snip
The proliferation of modern programming languages (all of which seem to have
stolen countless features from one another) sometimes make it difficult to
remember what you're currently using. This guide is offered as a public
service to help programmers who find themselves in such dilemmas.
Ok if people are going to reply ...
(I *was* holding myself back, okay)
.NET:
In week 1 you find the
System.ballistics.nonpointy.shooters.guns.gun.gunparts.moving.greasy.casing.
trigger interface.
In week 2, you discover the required
Thanks all,
I settled for:
Base = Number['E', 1, 1]
Factor = Number['E', 2, 1]
Result = Base * PWR(10, Factor)
Regards, Marco
Brian Leach [EMAIL PROTECTED] wrote:
Chuck,
You were right first time. Must be the hour.
Number = 1.234567E+14
Base = Number[E,1,1]
Factor =
The following is a IBM code example for the UniDataSet:
UniSession m_us=UniObjects(xxx, yyy, localhost, demo, udcs);
UniFile m_fl=m_us.Openfile(Customer);
string[] sArray={2, 3, 4};
UniDataSet m_ds=m_fl.Read(sArray);
foreach(UniRecord item in M_ds)
{
Hi Joe,
We are just completing a conversion of a customer's legacy software from R91
to UV/NT.
We ran an eval. version of UV 10.x on an XP/Pro machine for conversion
purposes and, unfortunately, we are still on it. We're in the process of
purchasing a Win 2003 Server machine for their real UV
We listen to our users who have tried the product and suggested changes.
Version 1.0.7 (Maybe 1.0.8) is now available:
1. Added Formatting logic for both UniVerse and UniData
2. Added Alt-F (Formatting) and Alt-C (Save and Compile) hot keys
3. Added the ability to automatically send un-expected
I believe there are some restrictions in windows xp, to prevent it being a
low cost server. I think there is a limit of 6 incoming tcp/ip connections
to the box. It is a while back so I am vague on the details, but you should
check that you can get the required number of people to logon to the
Hello all.
Anyone know of any decent documentation regarding the creation of the
.unisecurity file and associated SCR records (setting up telnet SSL on a
unidatat system.)
Thanks,
Drew
--
--
Drew Henderson
NT and Win2K used to be 10 incoming IP addresses for non-server versions.
Regards
JayJay
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David Jordan
Sent: 21 December 2005 20:54
To: u2-users@listserver.u2ug.org
Subject: RE: [U2] Using Win XP/Pro as a
Hello
I'm working on a project using C# with UO.net with UniData 7.1 on Win2003
Server. I'm trying to use the uniXML class to retrieve an XML document from a
set of associated fields in a single file. When I run the query I get a
result of
IBMU2.UODOTNET.UniXMLException
Schema: global element:
Victor, do you have both sides of the association defined - both in
the dicts (attribute 7) and in the association phrase?
-Kevin
[EMAIL PROTECTED]
http://www.PrecisOnline.com
---
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/
16 matches
Mail list logo