Graham,

CTOBIN is the BUF2?WORD functions
BINTOC is the NUM2?WORD functions

BUF2WORD(SUBSTR(lcIdBuf, (i*2)-1, 2))
BUF2DWORD(SUBSTR(This.cNewDevmode,41,4))


Tracy


-----Original Message-----
From: Graham Brown
Sent: Friday, September 04, 2009 3:14 PM

Thanks Tracey

Not exactly sure how to use these functions!
The code I'm trying to convert is for working with printer devmode

These are the calls

CTOBIN(SUBSTR(lcIdBuf, (i*2)-1, 2),'2sr')
CTOBIN(SUBSTR(This.cNewDevmode,41,4),'4sr')

Do these correspond to num2word and num2dword respectively?

Regards




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/000801ca2d96$c8f95c10$5aec14...@com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to