I don't think these are just hex to decimal conversions though.
The dt-center variable is supposed to be &h1, which by your theory, should just be 1 (which I'm doing), however this variable is used to specify whether to centre or not, and centring is not currently working, so &h1 does not translate to be just 1.
 
Darren Tracey
-----Original Message-----
From: Vaughan Allan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 6 August 2003 10:57 AM
To: CFAussie Mailing List
Subject: [cfaussie] Re: ASP to CF question?


Hi Darren,

You could either just work out what the decimal equivalents are (i.e. 40 in hex = 64 decimal), or use this:

http://www.cflib.org/udf.cfm?ID=347

Regards,


Vaughan.





"Darren Tracey" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]

06/08/2003 10:41 AM

Please respond to
"CFAussie Mailing List" <[EMAIL PROTECTED]>

To
"CFAussie Mailing List" <[EMAIL PROTECTED]>
cc
Subject
[cfaussie] ASP to CF question?





I have what I hope is a very simple ASP question, and I'm hoping that someone on this list knows the answer to this.

I've converted a few ASP files into CF files, but I'm having one problem with some constant declarations.
The original ASP code had a section like this:
Const DT_BOTTOM = &H8
Const DT_CALCRECT = &H400
Const DT_CENTER = &H1
Const DT_CHARSTREAM = 4
Const DT_DISPFILE = 6
Const DT_EXPANDTABS = &H40

which I translated into this (within CFSCRIPT tags):
DT_BOTTOM = 8;
DT_CALCRECT = 400;
DT_CENTER = 1;
DT_CHARSTREAM = 4;
DT_DISPFILE = 6;
DT_EXPANDTABS = 40;

The ones that equal 4 and 6 are fine, but I'm not entirely sure how best to convert the ones starting with &h into CF. I'm assuming that these are hex values (maybe?). Has anyone got any ideas on how I should set these variable with the same values?
They all eventually get past to a COM object, so it is important that they are translated accurately.

Regards

Darren Tracey

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/



****************************************************************************
If this communication is not intended for you and you are not an authorised
recipient of this email you are prohibited by law from dealing with or
relying on the email or any file attachments. This prohibition includes
reading, printing, copying, re-transmitting, disseminating, storing or in
any other way dealing or acting in reliance on the information. If you
have received this email in error, we request you contact ABN AMRO Morgans
Limited immediately by returning the email to [EMAIL PROTECTED]
and destroy the original. We will refund any reasonable costs associated
with notifying ABN AMRO Morgans. This email is confidential and may contain
privileged client information. ABN AMRO Morgans has taken reasonable steps
to ensure the accuracy and integrity of all its communications, including
electronic communications, but accepts no liability for materials
transmitted. Materials may also be transmitted without the knowledge of ABN
AMRO Morgans. ABN AMRO Morgans Limited its directors and employees do not
accept liability for the results of any actions taken or not on the basis
of the information in this report. ABN AMRO Morgans Limited and its
associates hold or may hold securities in the companies/trusts mentioned
herein. Any recommendation is made on the basis of our research of the
investment and may not suit the specific requirements of clients.
Assessments of suitability to an individual's portfolio can only be made
after an examination of the particular client's investments, financial
circumstances and requirements.
****************************************************************************
--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/
---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MX Downunder AsiaPac DevCon - http://mxdu.com/

Reply via email to