Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
<qbasic> in the docs
Why the <qbasic> extension is used in the docs? The following code has been taken from the FUNCTION page:

<qbasic>FUNCTION Factorial(x AS Ulong) AS Ulong
    IF x < 2 THEN RETURN x: END IF
    RETURN Factorial(x - 1) * x

The extension highligths the code but also links the keywords to
I've just searched for an example in Wikipedia. It uses the following extension:

<source lang="Qbasic">

It seems Mediawiki has several highlighting extensions:

Anyone acquainted with the issue?
Nope. I followed Boriel's examples - and went with a <qbasic> tag for code. Seems to come out rather small; but it does work.

How to tag stuff in there I honestly am not sure about as a style guide - I've just used other stuff as a template.
There are both <freebasic> and <qbasic> tags, and both can be used. Surprisingly, <qbasic> looks fancier! Tongue :oops:
But I didn't realise it links to qbasic. If so, all those tags must be removed in favour of <freebasic>. Another alternative is to edit the syntax color scheme... but this will take a little more time.

Update: Confirmed! :? I'll remove any qbasic tag and use freebasic ones instead. Also will try to change the coloring scheme.
Update: Well, I think this has been previously discussed somewhere, but the right tag for the Wiki is <zxbasic> :wink: So, please, use it from now on.

Forum Jump:

Users browsing this thread: 1 Guest(s)