Results 1 to 3 of 3

Thread: thinBasic language/Script structure/Execution directives/#DEFAULT

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

    thinBasic language/Script structure/Execution directives/#DEFAULT

    Hi Eros,

    just details, but we want thinBASIC perfect, don't we ?

    Under thinBasic language/Script structure/Execution directives/#DEFAULT

    BOUNDCHECK
    This execution directive switch ON or OFF array bound checking. Default thinBasic behave is ON.
    Default behave is ON.
    ... duplicated information

    PARAMETERS
    This execution directive change the way undefined passing parameters are interpreted in case of no explicit parameter passing method (ByRef or ByVal).
    Default way if BYVAL.
    ... should be "is" ?

    DECLARE CheckDuplicates, DECLARE CheckMissing
    Set how DECLARE statement control duplicated sub or functions names.
    ... should be "controls", "function" ?


    Thanks,
    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,780
    Rep Power
    10

    Re: thinBasic language/Script structure/Execution directives/#DEFAULT

    All 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

  3. #3
    thinBasic MVPs
    Join Date
    May 2007
    Location
    UK
    Posts
    1,427
    Rep Power
    159

    Re: thinBasic language/Script structure/Execution directives/#DEFAULT

    #DEFAULT keyword is used to change default thinBasic behave. It is followed by the behave name and possibly by the new default option.
    should be "behaviour"

    This execution directive change the way undefined passing parameters are interpreted in case of no explicit parameter passing method (ByRef or ByVal).
    Default way if BYVAL.
    "s" missing from change and I would say "Default method is BYVAL"
    Home Desktop : Windows 7 - Intel Pentium (D) - 3.0 Ghz - 2GB - Geforce 6800GS
    Home Laptop : WinXP Pro SP3 - Intel Centrino Duo - 1.73 Ghz - 2 GB - Intel GMA 950
    Home Laptop : Windows 10 - Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz, 2401 Mhz, 2 Core(s), 4 Logical Processor(s) - 4 GB - Intel HD 4400
    Work Desktop : Windows 10 - Intel I7 - 4 Ghz - 8GB - Quadro Fx 370

Similar Threads

  1. thinBASIC language/Script structure/Functions
    By Petr Schreiber in forum Fixed or cleared errors in help material
    Replies: 1
    Last Post: 07-11-2007, 22:10

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
  •