|
-
Feb 23rd, 2001, 07:28 PM
#1
what is the equivalent of the Vb With statement in Turbo C++?
-
Feb 23rd, 2001, 07:46 PM
#2
Turbo C++ is not a language, C++ is the language, Turbo C++ is the compiler. But i dont know VB so i have no idea what the eqiuvlent would be. Describe what the function does.
-
Feb 23rd, 2001, 07:50 PM
#3
Monday Morning Lunatic
There is no equivalent. C++ does not allow you to shorten the names in that way. Chimp, it does this:
Code:
Type X
Y as integer
z as integer
end type
sub main()
dim myself as x
with myself
.y = 6
end with
x.z = 7
end sub
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|