Hello world/Standard error: Difference between revisions
Content added Content deleted
Not a robot (talk | contribs) (Add Miranda) |
(Added Chipmunk Basic) |
||
Line 179: | Line 179: | ||
=={{header|BASIC}}== |
=={{header|BASIC}}== |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
RESUME |
|||
⚫ | |||
==={{header|BaCon}}=== |
==={{header|BaCon}}=== |
||
<syntaxhighlight lang="freebasic">EPRINT "Goodbye, World!"</syntaxhighlight> |
<syntaxhighlight lang="freebasic">EPRINT "Goodbye, World!"</syntaxhighlight> |
||
==={{header|BASIC256}}=== |
==={{header|BASIC256}}=== |
||
<syntaxhighlight lang="basic256"> |
<syntaxhighlight lang="basic256">onerror errortrap |
||
onerror errortrap |
|||
throwerror 99 |
throwerror 99 |
||
end |
end |
||
errortrap: |
errortrap: |
||
print "Goodbye World!" |
print "Goodbye World!" |
||
return |
return</syntaxhighlight> |
||
⚫ | |||
==={{header| |
==={{header|Chipmunk Basic}}=== |
||
⚫ | |||
⚫ | |||
20 on error goto 50 |
|||
30 error 99 : we force an error |
|||
40 end |
|||
⚫ | |||
⚫ | |||
⚫ | |||
==={{header|QBasic}}=== |
|||
<syntaxhighlight lang="basic">ON ERROR GOTO ManejoErrores |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
==={{header|ZX Spectrum Basic}}=== |
|||
On the ZX Spectrum, standard error is on stream 1: |
On the ZX Spectrum, standard error is on stream 1: |
||
<syntaxhighlight lang="zxbasic"> |
<syntaxhighlight lang="zxbasic">10 PRINT #1;"Goodbye, World!" |
||
⚫ | |||
⚫ | |||
⚫ | |||
</syntaxhighlight> |
|||
=={{header|Batch File}}== |
=={{header|Batch File}}== |