Author Topic: Forum Syntax Highlighting  (Read 3630 times)

Mike Lobanovsky

  • Guest
Forum Syntax Highlighting
« on: April 13, 2015, 11:03:44 PM »
Thanks for the proposition, John, but that's not really necessary. Remember BASIC is in fact only one third of FBSL's net worth. I don't think any stock highlighter (except for FBSL's official Eclecta editor, of course) would be able to highlight FBSL's composite scripts adequately.

As far as example code snippets are concerned, stock C and Intel asm highlighters will suffice, and any decent contemporary BASIC highlighter like VB, or PB, or O2, or SB for that matter, will do just fine. FBSL doesn't utilize any 20th century legacy esoterics. :)

Offline John

  • Forum Support / SB Dev
  • Posts: 3597
    • ScriptBasic Open Source Project
Re: Forum Syntax Highlighting
« Reply #1 on: April 14, 2015, 08:43:22 PM »
I forgot about FBSL's multiple personalities.  8)

I'll get Charles's OxygenBasic (O2) syntax file installed tonight.

Testing O2
Code: Text
  1. 'Normalize
  2. float f=sqr(x*x+y*y+z*z)
  3. if f then f=1/f else exit sub
  4. x*=f : y*=f : z*=f
  5.  

Thanks for your participation on All BASIC!

« Last Edit: April 14, 2015, 09:59:09 PM by John »