Page 21 of 21 FirstFirst ... 11192021
Results 201 to 203 of 203

Thread: thinBASIC 1.9.16.X

  1. #201
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    68
    Posts
    3,865
    Rep Power
    405
    Thanks Primo, I have functions to do those already in my archives, will dig them up. I never thought of the different degree types.

    Found them here they are:
    function Rad2Deg(rad as double)
      function = ( ( rad * 180 ) /  3.14159265 )
    end function
    
    function Deg2Rad(deg as double)
      function = ( ( deg *  3.14159265 ) / 180 )
    end function
    
    Thanks again, all tests green now.
    Last edited by kryton9; 10-05-2017 at 12:30.
    Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
    Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server

  2. #202
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,153
    Rep Power
    736
    Hi Kent,

    DegToRad and RadToDeg are part of thinBasic Math module, so you don't have to declare them yourself


    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

  3. #203
    thinBasic MVPs kryton9's Avatar
    Join Date
    Nov 2006
    Location
    Naples, Florida & Duluth, Georgia
    Age
    68
    Posts
    3,865
    Rep Power
    405
    Petr, you know what it is? Its been 11 years of thinBasic and it just seems like 4 at the most. And of course, in all of that time much has been added to thinBasic, and I am still thinking like it was 11 years ago. I need to check the help first from now on
    Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
    Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server

Page 21 of 21 FirstFirst ... 11192021

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
  •