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

Thread: UDT-improvement

  1. #11
    thinBasic MVPs
    Join Date
    Oct 2012
    Location
    Germany
    Age
    54
    Posts
    1,529
    Rep Power
    170

    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.
    I think there are missing some Forum-sections as beta-testing and support

Page 2 of 2 FirstFirst 12

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

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