Click here to Skip to main content
15,896,348 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Coders,

If a function returns us in "struct" data type then how can we get values from returned value? Is there any way in ASP to directly print the returned struct?

---
Regards,
MU
Posted

1 solution

Try the dot accessor.

example

if someStruct is a returned struct I can do the following:

someStruct.SomeValueNeeded


To the best of my understanding of your post, no there is not a single command/method/function that will print the contents of the struct for you.

You're a programmer, you write one :)


However, if you are struggling with simple issues such as structs, might I suggest you learn the basics of the language first?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900