Results 1 to 4 of 4

Thread: QuickBASIC programming for scientists and engineers

  1. #1

    QuickBASIC programming for scientists and engineers

    QuickBASIC programming for scientists and engineers
    https://books.google.jo/books?isbn=0849344344

    i have a paper version of this book: (but without its floppy disk):
    Turbo basic Programs for scientists & engineers: Alan R. Miller
    (turbo basic is the grand mother of powerbasic)

    so it was not shame to program in Basic in 90 and 80. i saw even a calculus books have listings of basic code. not to mention the astronomy books. basic is the natural language in which the scientists usually think everyday. now the engineers know to use complex programs but i swear they know nothing about the deep issues in their subject, they lost inside the complexity.

  2. #2
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    50
    Posts
    8,197
    Blog Entries
    2
    Rep Power
    10
    Yes there are a lot of strange programming languages out there.

    Most if them have what I HATE most in programming languages: semicolon





    Why so big love for semicolon?
    Last edited by ErosOlmi; 25-11-2017 at 12:37.
    www.thinbasic.com | www.thinbasic.com/community/ | psch.thinbasic.com
    Win10Pro 64bit - 8GB Ram - Intel i7 M620 2.67GHz - NVIDIA Quadro FX1800M 1GB

  3. #3
    it is possible the ';' is a relic from the oldest languages, there was no full awareness of the white space such as new line because the oldest languages was executed using a printer not a modern monitor
    i have noticed that all basic languages does not have ";" as a statements separator, it seems only in basics there is a good awareness of the newline whitespace.
    in thinbasic there is an extra awareness of the new lines such as we can use multilines string inside the ide without giving us an error, so we can push a new line inside the string, then we can parse it later by this new line separator
    here is my test
    '---Load Console Module
    Uses "Console"
    
    String st
    Long i
    Dim textLines() As String
    st = "hello world 
    this is a multi lines 
    string in thinbasic 
    "
    Parse(st, textLines(), $CRLF)
    For i=1 To UBound(textLines)
    PrintL textLines(i)
    Next
    PrintL: PrintL
    PrintL "Press a key to end program"
    
    '---Wait for a key press
    WaitKey
    

  4. #4
    thinBasic author ErosOlmi's Avatar
    Join Date
    Sep 2004
    Location
    Milan - Italy
    Age
    50
    Posts
    8,197
    Blog Entries
    2
    Rep Power
    10
    Plus: thinBasic has implicit line continuation.
    If previous line ends with a delimiter, it is implicit that next line is continuation of the previous one.

    Example
    Uses "Console"
    
    Printl  "1",
            "2",
            "3"
    
    www.thinbasic.com | www.thinbasic.com/community/ | psch.thinbasic.com
    Win10Pro 64bit - 8GB Ram - Intel i7 M620 2.67GHz - NVIDIA Quadro FX1800M 1GB

Similar Threads

  1. Scientists slow the speed of light
    By Charles Pegge in forum Shout Box Area
    Replies: 0
    Last Post: 26-01-2015, 22:29
  2. The Tao Of Programming
    By zak in forum Shout Box Area
    Replies: 2
    Last Post: 07-09-2010, 06:39
  3. New To Programming
    By OneHitWonder in forum thinBasic General
    Replies: 14
    Last Post: 02-07-2010, 13:22
  4. Starving yogi' astounds Indian scientists
    By Charles Pegge in forum Shout Box Area
    Replies: 16
    Last Post: 10-06-2010, 08:04
  5. New to programming and thinbasic
    By goraw55 in forum Shout Box Area
    Replies: 14
    Last Post: 27-10-2009, 09:11

Posting Permissions

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