Page 2 of 2 FirstFirst 12
Results 11 to 11 of 11

Thread: UDT-improvement

  1. #11
    thinBasic MVPs ReneMiner's Avatar
    Join Date
    Oct 2012
    Location
    Philippines
    Age
    48
    Posts
    1,234
    Blog Entries
    1
    Rep Power
    135

    With UDT At ptr

    Another one:
    With tMyUdt At pData
      .property = ...
      .functionName(parameters)
    End With
    
    
    Alias
    
    Dim x As tMyUdt At pData
    With x
      .property = ...
      .functionName(parameters)
    End With
    
    Would it be possible to use functions and properties of an UDT just providing the pointer? So not need to


    Dim varName As tType At dataPtr
    With varName
    ...
    End With

    but

    With tType At dataPtr
    ...
    End With

    Using it this way ._Create() or ._Destroy() would not be executed of course
    Last edited by ReneMiner; 20-03-2018 at 05:10.
    maybe no PC currently but always a head full of ideas

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •