Results 1 to 5 of 5

Thread: A trouble with what is like a minus symbol

  1. #1

    A trouble with what is like a minus symbol

    i have copied a formula in line 20 in https://www.purplemath.com/modules/sqrcircle.htm
    let us say it is 5–2 , pasting it in thinbasic IDE and also in Freebasic ide , they outputs an error. i first suspect there is a hidden characters, i copied the formula to the notepad saving it to ansi then copied it again, the same error.
    what is wrong with this minus sign !!. then finding that its asc = 8211 while the normal minus asc = 45. so this is the problem. i find also another symbol with asc = 8722
    the real minus sign appears shorter than this symbol
    in fact i always not happy with the usual minus sign , and who have poor eyes vision like me see it like a dot, they should make it taller by one or two pixels
    compare here the 2 symbols: (the taller is the fake minus):
    4x2 + 4y2 – - 16x – - 24y + 51 = 0

    this code will output error in line 10
    '---Load Console Module
    Uses "Console"
    Long a
    a = 5-2
    printl a
    
    printl asc("-") '45
    printl asc("–") '8211
    printl asc("−")'8722
    a = 5–2 ' will output error
    
    PrintL "Press a key to end program"
    
    '---Wait for a key press
    WaitKey
    
    more about math symbols:
    https://www.rapidtables.com/math/sym...h_Symbols.html

  2. #2

    Lightbulb

    Quote Originally Posted by primo View Post
    in fact i always not happy with the usual minus sign , and who have poor eyes vision like me see it like a dot, they should make it taller by one or two pixels
    Hi Primo,

    maybe you could change the font face and/or size in thinAir.
    "thinAir Options\Editor\Font face" doesn't take changes into account. As themes override these settings, you can edit the xml themes files to set your preferred display : "Right-click \ Themes..."

    Also :https://www.thinbasic.com/community/...thinAir-Themes
    ThinBasic 1.11.6.0 ALPHA - Windows 8.1 x64

  3. #3
    Thank you DirectuX , i have edited the Default.theme to
    <item name = "font.size">14</item>
    and when restarting the IDE the fonts is big enough, thank you.
    yes it seems the themes overriding the editor setting
    it seems to me that some web sites uses that relatively big symbol instead of the minus symbol for this reason to display it better for the readers, may be.

  4. #4
    you're welcome Primo

    for web reading, I frequently use the Firefox's reader view function, even more when on mobile device : this greatly improve comfort and readability but sometimes it is not available (it seems to depend on website's content, as example it works with purplemath.com but not always on google.com).
    Last edited by DirectuX; 26-09-2019 at 15:17.
    ThinBasic 1.11.6.0 ALPHA - Windows 8.1 x64

  5. #5
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    57
    Posts
    8,777
    Rep Power
    10
    Sorry for the delay and confusion.

    Yes, thinAir options are no more valid and themes are the way for the future.
    I'm creating a theme editor that will let change themes options.
    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

Similar Threads

  1. Trouble with TBGL_MouseGetLButton ?
    By dcromley in forum TBGL General
    Replies: 3
    Last Post: 22-03-2016, 18:12
  2. Trouble in (my) Paradise
    By LCSims in forum Core module
    Replies: 24
    Last Post: 04-07-2013, 21:58
  3. a symbol of madness
    By zak in forum Shout Box Area
    Replies: 1
    Last Post: 25-02-2011, 09:58
  4. Big trouble with FILE module
    By Petr Schreiber in forum thinBundle bugs report
    Replies: 3
    Last Post: 19-03-2007, 20:34

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
  •