Results 1 to 4 of 4

Thread: Missing keywords in help

  1. #1
    thinBasic MVPs
    Join Date
    Oct 2012
    Location
    Germany
    Age
    55
    Posts
    1,555
    Rep Power
    174

    Missing keywords in help

    this is list of already present and functioning keywords but not mentioned in the help until now

    Core
    to:
    thinbasic-language\thinbasic-functions\variables functions
    missing:
    Variable_GetInfo()
    not sure about syntax - i suspect equal to the sdk-function thinBasic_VariableGetInfoEX


    to:
    thinbasic-language\thinBasic-functions\Application functions
    missing:
    APP_ListVariables
    i would also link this from varriables-section sinds its to find in Application-related

    missing:
    APP_ListKeywordsAndSyntax

    missing:
    APP_GetEntryPoint

    APP_SetEntrypoint
    i think the second one is mentioned in the beginning in relation to TBMain

    to:
    thinbasic-language\script structure\functions & subs
    missing:
    Function_GetBodyCode
    Function_GetSourceCode
    Function_GetStackLevel

    File module
    to:
    thinBasic Modules\File\ (DISK?)
    missing:
    Disk_Free("C:")
    missing:
    Disk_Size("C:")
    I think there are missing some Forum-sections as beta-testing and support

  2. #2
    thinBasic MVPs
    Join Date
    Oct 2012
    Location
    Germany
    Age
    55
    Posts
    1,555
    Rep Power
    174
    some that are entitled wrong

    ThinBASIC Language > thinBasic Functions > Application functions > App > Environ > ...
    shows "App.Process.ID"
    should be "Environment.*"

    syntax here also says
    sValue = APP.Environment.*

    so i assume the pages title in the navigation tree should show "Environment.*" instead of "Environ.*" (?)




    ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Types > Image Control > Image Control Creation > Control Add ...

    should be "Control Add Image"
    but shows "CONTROL ADD LINE"


    ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Types > Richedit Control > Richedit Control Creation > Control Add ...

    should be "Control Add Richedit"
    but shows "Control Add PropertyList"



    ThinBASIC Language > Module Classes > New Operator

    should mention alternate syntax or better:
    give an example using a to core built-in class
    '-- dimension class variable
    Dim myTimer As cTimer
    '-- instatiate it:
    myTimer = New cTimer("myTimersName")
    
    '-- equals creation and instantiation in one go:
    Dim myTimer As New cTimer("myTimersName")
    
    When to use what syntax?
    '-- one class variable:
    Dim oneTimer As New CTIMER("Timer01")
    
    '--array of a class variable
    Dim multipleTimers(2) As CTIMER
      multipleTimers(1) = New CTIMER("Timer_A")
      multipleTimers(2) = New CTIMER("Timer_B")
      
      
    Msgbox(StrFormat$("oneTimer        : {1}{2}multipleTimers 1: {3}{2}multipleTimers 2: {4}{2}",
                      oneTimer.GetName, $CRLF, multipleTimers(1).GetName, multipleTimers(2).GetName ),
          %MB_ICONINFORMATION, 
          "Timer classes" )
    
    Last edited by ReneMiner; 25-08-2021 at 00:54.
    I think there are missing some Forum-sections as beta-testing and support

  3. #3
    thinBasic MVPs
    Join Date
    Oct 2012
    Location
    Germany
    Age
    55
    Posts
    1,555
    Rep Power
    174

    Listview: Importante

    you will not get any listview-control to appear on screen if you do not use the following Equates to apply the Listview-style

    must be added to the listview-style-equates on creating a listview:
    nowhere mentioned: %LV_VIEW_...

    %LVS_REPORT etc do not work and the listview will not appear if not using
    the equates starting with %LV_VIEW_...

    someone who will not exactly study and analyze the thinbasic-sample-scripts does never have the slightest chance to get a listview displayed on the screen because these equates are not documented - i dont know why microsoft uses a diferrent enumeration here, has something to do with visual styles i read somewhere. On other sources i read
    it would require to implement a manifest to use the control in different views, but it works specifying one of those together with Styles on creation of a listview

    However i can not tell what is the difference between Report & Details view

    (i thought Report is the style known from explorer where items have subitems and details view somewhat alike wide tiles that allow an items description (specially to add using a LV_Item-structure)
    Also a value %LV_View_Max is present in thinBasic UI-module - but no idea what it's purpose

    these are present equates / described in Listview_SetView but nowhere mentioned the use on Listview-creation in combination with styles

    %LV_VIEW_REPORT
    %LV_VIEW_DETAILS
    %LV_VIEW_ICON
    %LV_VIEW_LIST
    %LV_VIEW_SMALLICON
    %LV_VIEW_TILE

    %LV_VIEW_MAX

    while using listview-styles
    %LVS_ICON
    %LVS_SMALLICON
    %LVS_LIST
    %LVS_REPORT
    will only show the effect of nothing to show: the listview will not appear
    I think there are missing some Forum-sections as beta-testing and support

  4. #4
    Junior Member
    Join Date
    Mar 2024
    Posts
    17
    Rep Power
    2

    avl tree command missing from help tree_del (found in sample files)

    Tree_Del(pTree, "KEY" & Format$(1000, "000000"))

    found in thinBasic\SampleScripts\DataStructures\thinBasic_DataStructures_AVLTree.tbasic

    I thought is strange not to have a way to remove something. turn out there was a way.
    also not in call tips.
    did not find a mention in the forum.

    I really like the samples.
    Fred.
    Last edited by F_Dixon; 03-05-2024 at 05:33.

Similar Threads

  1. iComplex module -- something's missing
    By RobbeK in forum thinBasic General
    Replies: 5
    Last Post: 20-11-2013, 11:52
  2. missing info on pointers
    By jack in forum Help Material
    Replies: 1
    Last Post: 01-01-2009, 15:22
  3. Few EXE module functions missing
    By Petr Schreiber in forum EXE
    Replies: 8
    Last Post: 07-03-2008, 12:08

Members who have read this thread: 1

Posting Permissions

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