VBWIN 3.0 equivalents for VBDOS CVD, MKD$ etc 
Author Message
 VBWIN 3.0 equivalents for VBDOS CVD, MKD$ etc

Has anyone discovered how do perform the equivalent of CVD (convert data
type "Double" to a string), MKD$ (make a "Double" data type from a
string), plus the "single" versions of these commands too.

The CVar and CStr functions in VBWIN do not seem to do the trick.  I want
to be able to turn a single precision floating point value into a 4-byte
"packed" string (and back again), and a double precision number into an
8-byte "packed" string (and back again) for compatibility with something
I wrote a while ago in VBDOS.

Thanks in advance for any ideas.



Wed, 27 May 1998 03:00:00 GMT  
 VBWIN 3.0 equivalents for VBDOS CVD, MKD$ etc

writes:

Quote:

> Has anyone discovered how do perform the equivalent of CVD (convert data
> type "Double" to a string), MKD$ (make a "Double" data type from a
> string), plus the "single" versions of these commands too.

Try:

mystring = str(mydouble)

dim mydouble as double
mydouble = val(mystring)

TTFN

 _  _____  _   _

| || (_) || `\| |
| ||  _  || , ` | If they give you lined paper, write the other way!
| || | | || |`\ |
(_)(_) (_)(_) (_) http://www.citynet.co.uk/users/igloo



Fri, 29 May 1998 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Converting from VBWIN 3.0 to VBDOS 1.0

2. MKD$ and CVD

3. USE OFF CVS/MKS$ AND CVD/MKD$ WITDH /MBF

4. QB45 MKD$, CVD in VB4?

5. CVD & MKD$

6. CVD Function equivalent???

7. Converting VBWIN project to VBDOS

8. Where is VBWin/VBDOS?

9. VBDOS to VBWIN Trnslate speed

10. QB/VBDOS to VBWIN - help, please!

11. Netmasking problem and calculation - VBDOS/VBWin

12. : VBDOS 1.0 to VBWIN 5.0 Conversion

 

 
Powered by phpBB® Forum Software