Quantcast
Channel: Visual Studio General Questions forum
Viewing all articles
Browse latest Browse all 21115

Use pointer in VB

$
0
0
Hi!

How can I memorize the addresse of a variable (Boolean). and then right true or false in the variable with the adresse..

On top, my Boolean variable is in a structure..

    Public Structure Pump
         Public bPanelOPEN As Boolean
         'more variable are here, but for the exemple I did not show it
    End Structure

Public WaterPump(10) as Pump

WaterPump(1).bPanelOpen = false

--------------
How can I memorize the adresse of WaterPump(1).bPanelOpen

How can I right True or False in WaterPump(1).bPanelOpen with the pointer

Thank you!

Viewing all articles
Browse latest Browse all 21115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>