Qbasicnews.com

Full Version: QBasic syntax highlighted code
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9
I just found a bug.. I think.. with the code script:


Code:
qbasicprint "this works fine, and I'm using qbasic at the start

Code:
print "I'm not using qbasic here.... and it killed my print....?"
I just found a bug.. I think.. with the code script:


Code:
qbasicprint "this works fine, and I'm using qbasic at the start

Code:
print "I'm not using qbasic here.... and it killed my print....?"



Same as above, with BBCode disabled
Code:
print "hello world"

works fine for me?
no. it blows up when you have two or more code tag thingys
Code:
qbasicprint "hello"

Code:
qbasicprint "hello"

Code:
print "hello"

I see the problem. I'm not in a position to fix it at the moment, but I will asap.
Code:
qbasicPrint "dummy...."

Code:
'this code is without the qbasic things

PRINT "aha..... hmm..."

'And it freakin removed my first ' sign
I like your idea of the images =).
[syntax="qbasic"]' Qbasic code
print "hello, world"
if a$ = b$
print "hi!"
foo# = varseg(blah)
end if
end
' dflskjasdlkjas[/syntax]

We have a new format for the syntax code Smile

Now you do this:

[syntax="language"]
' code...
[/syntax]

Where language is qbasic, php...

At the moment, keywords for qbasic are loaded in, but nothing for php (though php's string delimiters, escape char and multiline comments work if you want to try).

I'm installing it for all styles now, and as I add keywords (and languages) (and highlighting for numbers again) I'll post here.

I'll also re-add the highlighting of [code]qbasic so the forum doesn't look trashed.

Enjoy!
Great =). I hope you will be adding support for many more languages =)
[syntax="php"]/*multiline comment
comment
blah
blah
*/
so it does work!
[/syntax]
Pages: 1 2 3 4 5 6 7 8 9