Translating VB return type STRING 
Author Message
 Translating VB return type STRING

Translating VB return type STRING

What is the correct translation of a VB function that returns a STRING?

The following doesn't seem to work correctly.

VB:    Diag  (sPick As String) As String
CW:     Diag(*cstring),cstring,Pascal,RAW,name('Diag')

Does this look correct or should the return value be typed as *cstring ?

Paul MacFarlane
American Riviera Software


remove *SPAMLESS* from reply address

Sat, 12 May 2001 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. FORTRAN+VB : TYPE with String / get BSTRING value ?

2. stl string within c structs and VB user def types in DLL

3. Translating a VB program, need FTP, SMTP + stuffit plugins

4. Translating a VB examble into Clarion

5. Translating VB prototypes to CW

6. how translate this VB code to Clarion 55 ABC

7. Translate F77 format instruction into VB

8. Translate FORTRAN to VB

9. Help needed in translating VB to Tcl

10. Stylistic question: returning strings vs. pointers to strings

11. Tkinter wart: returned texts are sometimes strings, sometime Unicode strings

12. translating loop while # do (return #) to SERIES


Powered by phpBB® Forum Software