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?
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.
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/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
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
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/ | help.thinbasic.com
Windows 10 Pro for Workstations 64bit - 32 GB - Intel(R) Xeon(R) W-10855M CPU @ 2.80GHz - NVIDIA Quadro RTX 3000
Bookmarks