Zero to the zero power: Difference between revisions
Content added Content deleted
(Zero to the zero power in Run BASIC and XBasic) |
|||
Line 189: | Line 189: | ||
{{works with|QuickBasic|4.5}} |
{{works with|QuickBasic|4.5}} |
||
<syntaxhighlight lang="qbasic">PRINT "0 ^ 0 ="; 0 ^ 0</syntaxhighlight> |
<syntaxhighlight lang="qbasic">PRINT "0 ^ 0 ="; 0 ^ 0</syntaxhighlight> |
||
==={{header|Run BASIC}}=== |
|||
{{works with|Just BASIC}} |
|||
{{works with|Liberty BASIC}} |
|||
<syntaxhighlight lang="lb">print "0 ^ 0 = "; 0 ^ 0</syntaxhighlight> |
|||
==={{header|True BASIC}}=== |
==={{header|True BASIC}}=== |
||
Line 194: | Line 199: | ||
<syntaxhighlight lang="qbasic">PRINT "0 ^ 0 ="; 0 ^ 0 |
<syntaxhighlight lang="qbasic">PRINT "0 ^ 0 ="; 0 ^ 0 |
||
END</syntaxhighlight> |
END</syntaxhighlight> |
||
==={{header|XBasic}}=== |
|||
{{works with|Windows XBasic}} |
|||
<syntaxhighlight lang="xbasic">PROGRAM "progname" |
|||
VERSION "0.0000" |
|||
IMPORT "xma" 'required for POWER |
|||
DECLARE FUNCTION Entry () |
|||
FUNCTION Entry () |
|||
PRINT "0 ^ 0 = "; 0 ** 0 |
|||
PRINT "0 ^ 0 = "; POWER(0, 0) |
|||
END FUNCTION |
|||
END PROGRAM</syntaxhighlight> |
|||