BASIC - Programming Language

Let's Code !

Published by: 俊 姜
Downloads
Revenue

Description

BASIC: 古き良き時代を再び感じる ! 懐かしい !
10 INPUT A
20 B = SIN(A)
30 PRINT "ANSWER: ", B
40 END
BASIC ユーザーガイド:
• PRINT
10 PRINT "HELLO WORLD !"
20 END

• INPUT
10 INPUT “A=”, A
20 PRINT A
30 END

• IF...THEN...
Number Comparison:
10 INPUT A
20 IF A>90 THEN B=“A”
30 PRINT B
40 END
Conditional Operators:
> greater than
< less than
>= greater than or equal to
=> equal to or greater than
<= less than or equal to
=< equal to or less than
= equal to
== equal to
<> not equal to
!= not equal to
THEN can be followed by GOTO, GOSUB, INPUT, PRINT.
String Comparison:
10 INPUT A
20 IF A=“TOM” THEN PRINT “BOY”
30 END
Conditional Operators:
= is
== is
<> is not
!= is not

• FOR...NEXT...
10 FOR I=1 TO 4 STEP 2
20 PRINT “HELLO”, I
30 NEXT I
40 END
STEP specifies the counter increment for each loop. If STEP doesn’t exit, the default increment is 1.
FOR...NEXT... loop can be nested.
10 FOR I=1 TO 5
20 FOR J=1 TO 4
30 PRINT I, J
40 NEXT J
50 NEXT I
60 END

• GOTO
10 ...
20 ...
30 ...
40 GOTO 10
50 ...

• GOSUB
10 PRINT “H”
20 GOSUB 100
30 PRINT “L”
40 END
100 PRINT “A”
110 RETURN

• SOUND
10 SOUND C, M, 0.5
The line 10 plays Middle C piano note for 0.5 seconds.
Note: C, C#, D, D#, E, F, F#, G, G#, A, A#, B
Pitch Range: L (low), M (middle), H (high)
Lasting Time: specifies how long a note lasts.
C, D, E, F, G, A, B can also be labeled as 1, 2, 3, 4, 5, 6, 7. (C# as 1#).

• TEXT
10 TEXT “HELLO”, x, y, size
(x,y): position of the string “HELLO”.

• CIRCLE
10 CIRCLE x, y, radius
(x,y): the center of the circle.

• RECTANGLE
10 RECT x, y, width, height
(x,y): top-left point of the rectangle.

• LINE
10 LINE x1, y1, x2, y2
(x1,y1): the starting point of the line.
(x2,y2): the ending point of the line.

• POINT
10 POINT x, y
(x,y): the position of the point.

• CLR: clear the edit window.
• CLS: clear the graph window.

• DELAY
10 DELAY 0.5
0.5:lasting time in seconds
This function is used to suspend execution of a program for a particular time.

• CURVE
10 CURVE x, y, radius, 0, PI
0: starting angle
PI: ending angle
The curve draws clockwise with center (x,y).

• Mathematical Functions:
SIN(X), COS(X), TAN(X), COT(X),
ASIN(X), ACOS(X), ATAN(X),
SINH(X), COSH(X), TANH(X),
ASINH(X), ACOSH(X), ATANH(X).
SQR(X): square root of x.
ABS(X): absolute value of x.
FCT(X): x factorial.
LOG(X): natural logarithm of x.
LOG10(X): base-10 logarithm of x.
LOG2(X) :base-2 logarithm of x.
EXP(X): base-e exponential of x.
ERF(X): the error function of x.
ERFC(X): the complementary error function of x.
ROUND(X) :integral nearest to x.
CEIL(X): the smallest integral that is not less than x.
FLOOR(X): the largest integral that is not greater than x.
TGAMMA(X): the gamma function of x.
LGAMMA(X): the natural logarithm of the absolute value of the gamma function of x.

• Reserved Variables:
INKEY : once a key is pressed, the value of INKEY changes.
RND : a random number.
PI : π

• Some Tips:
1. Undo & Redo typing on iPhone with a shake.
2. Copy an Emoji or some character from other places (like Notes), then paste them on the edit window.
3. Exponentiation is expressed as X^Y.
Hide Show More...

Screenshots

BASIC FAQ

  • Is BASIC free?

    BASIC is not free (it costs 3.99), however it doesn't contain in-app purchases or subscriptions.

  • Is BASIC legit?

    Not enough reviews to make a reliable assessment. The app needs more user feedback.

    Thanks for the vote

  • How much does BASIC cost?

    The price of BASIC is 3.99.

  • What is BASIC revenue?

    To get estimated revenue of BASIC app and other AppStore insights you can sign up to AppTail Mobile Analytics Platform.

User Rating
App is not rated in Ukraine yet.
Ratings History

BASIC Reviews

上のタブが操作出来ない

チーチ0315 on

Japan

iphone 11proでアプリを開くと画面上にタブが4個(File Edit Run Help)ありますがEditとRunがカメラとマイクの部分とかぶっているので操作出来ません。せっかく購入したのにタダのゴミアプリになってしまった。返金して欲しい!!

ファイルがopenできません

くいなさん on

Japan

saveしたファイルは表示されますが、openできないのでアプリが使えません。アップルは使えなくともお金だけはとるのでしょうか?

iPhone13でも使える

けんじ1112 on

Japan

マニュアルやexampleが丁寧なので、プログラミングしたことない人でもすぐにできるようになると思います。 iPhone13ですが、普通に使えています。ストアから消えると困るので書き込んでおきます。 同様のソフト(BASICやポケコン)が増えるといいなと思いますが、あんまり人気ないのかな? 追記 剰余(%とかMOD)は無いのでしょうか? 結構使う場面があると思うんですが無いとそれを実現するのに手間なので。 IF文の条件で!=と<>を使うとエラーになるか落ちるかで使えないのですが直りませんか? 追記 剰余は2〜3行費やせば代替出来るとして、配列が無いのが痛すぎる。 DIMを使えるようにしてください。お願いします。

basic

ishi6163 on

Japan

openが出来ない。 どうしたらopenが出来るようになりますか?

使えない。

Leo2nao on

Japan

iPadで使いたかったけど全く使えない。 画面におさまらないけどiPadでは無理?

使えない

lugonta on

Japan

インストールしても立ち上がらない。なんだかなぁ〜

iPhoneとiPad

自分の胸の片隅に on

Japan

iPhoneは使いやすいですが、 ipadは、横向きが対応してないようです。 すごく不便なので、改善してください。

Store Rankings

Ranking History
App Ranking History not available yet
Category Rankings
App is not ranked yet

Keywords

BASIC Competitors

Name
SIMO : MATLAB programming app
Turing Machine Simulator
Tutorial for C#
PockEmul
BASIC Programming Compiler
Learn and code in BASIC
Hand BASIC - CBM Flavor
BASIC Language
VHDL Ref
Reference for VHDL and Verilog
Tutorial for OC
Tutorial|Interview|Question
Dev Calc Pro (Hex Dec Oct Bin)
Show all Base number
gcc-Lab

BASIC Installs

Last 30 days

BASIC Revenue

Last 30 days

BASIC Revenue and Downloads

Gain valuable insights into BASIC performance with our analytics.
Sign up now to access downloads, revenue, and more.
This page includes copyrighted content from third parties, shared solely for commentary and research in accordance with fair use under applicable copyright laws. All trademarks, including product, service, and company names or logos, remain the property of their respective owners. Their use here falls under nominative fair use as outlined by trademark laws and does not suggest any affiliation with or endorsement by the trademark holders.