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/

Reply via email to