Results 1 to 2 of 2

Thread: Help file: APP_ListUDTs

  1. #1
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732

    Help file: APP_ListUDTs

    Hi,

    I think the description of topic:
    thinBasic Modules > Core > Application functions > APP_ListKeywords

    is not 100% precise. It says:
    Returns a string containing the list of thinBasic UDTs declared at the time function is invoked. It means only UDTs of the current loaded modules will be returned.
    ... but that is not true. If I execute the following code:
    Type tVector2D
      x As Single
      y As Single
    End Type
    
    Type tVector3D
      tVector2D  
      z As Single
    End Type
    
    MsgBox 0, APP_ListUDTs($CRLF)
    
    I get the output of:
    TVECTOR2D
    TVECTOR3D
    ... which means not only UDTs defined in loaded modules are listed, but the user defined ones as well.

    Maybe the description could be formulated as:
    Returns a string containing the list of thinBasic UDTs declared at the time function is invoked.
    That means only the UDTs of the current loaded modules and UDTs defined by programmer will be returned.

    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

  2. #2
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10
    Done, thanks.
    www.thinbasic.com | www.thinbasic.com/community/ | help.thinbasic.com
    Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000

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
  •