Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
ASIC programming language
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== BAS2ASI == This utility, serving to convert [[GW-BASIC]] programs to ASIC syntax, in the version 5.0 does not support some GW-BASIC features. Examples: <code>STEP</code> in the [[for loop]] is not converted. The program <syntaxhighlight lang="basic"> 10 FOR i=10 TO 1 STEP -1 20 PRINT i 30 NEXT i </syntaxhighlight> is converted into <syntaxhighlight lang="QBasic"> REM 10 FOR i=10 TO 1 STEP -1 FOR I@ = 10 TO 1 ASIC0@ = -1 -1 I@ = I@ + ASIC0@ REM 20 PRINT i PRINT I@ REM 30 NEXT i REM 30 NEXT i 3: Syntax error </syntaxhighlight> The [[exponentiation]] operator <code>^</code> is not converted. The program <syntaxhighlight lang="basic"> 10 a=2 20 b=a^10 30 PRINT b </syntaxhighlight> is converted into <syntaxhighlight lang="QBasic"> REM 10 a=2 L10: A@ = 2 REM 20 b=a^10 2: Syntax error REM 30 PRINT b REM 30 PRINT b 3: Syntax error </syntaxhighlight>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)