描述

10 INPUT A
20 B = SIN(A)
30 PRINT "ANSWER: ", B
40 END
BASIC USER'S GUIDE:
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.
螢幕擷取畫面





價錢
- 今天: $2.99
- 最小值: $1.99
- 最大值: $3.99
追蹤票價
點數
-
- 2,115 Luciole
排名
未找到 ☹️
清單
未找到 ☹️
評測
成為第一個評論 🌟
其他資訊
你可能還喜歡
-
- BASIC Programming Compiler
- iOS 應用程式: 教育 由: Ketan Appa
- * 免費
- 清單: 0 + 0 排名: 0 評測: 0
- 點數: 0 + 7 (3.1) 版本: 1.9.2 Write BASIC code directly on your iPhone, iPad and iPod Touch! This app is ideal for learning and testing code snippets! BASIC (Beginner's All-purpose Symbolic Instruction Code) is a ... ⥯
-
- Language Dashboard
- iOS 應用程式: 教育 由: Language Dashboard
- 免費
- 清單: 0 + 0 排名: 0 評測: 0
- 點數: 1 + 2 (5.0) 版本: 2.1.1 Language Dashboard was designed for language learners studying Arabic, Chinese, French, German, Italian, Japanese, Korean, Russian, and Spanish, and is equally valuable for speakers of ⥯
-
- Language Zen - Spanish
- iOS 應用程式: 教育 由: Language Zen Inc
- * 免費
- 清單: 0 + 0 排名: 0 評測: 0
- 點數: 0 + 6 (4.8) 版本: 3.2.1 Language Zen is like a personal tutor with a perfect memory. It is proven to teach Spanish 2.2X more effectively than Rosetta Stone and can let you learn an entire semester of college ... ⥯
-
- bashi - programming language
- iOS 應用程式: 教育 由: 小文 黄
- 免費
- 清單: 0 + 0 排名: 0 評測: 0
- 點數: 0 + 23 (4.3) 版本: 2.1 This is an ios bash4.3 app,you can learn,run,share bash4.3 script. Features : Autocomplate. Auto Indent. Code color. In(the built-in browser or the txt editor),Select the text to run. ... ⥯
-
- Language Game - LangLandia
- iOS 應用程式: 教育 由: Language Unlimited LLC
- * 免費
- 清單: 1 + 0 排名: 0 評測: 0
- 點數: 2 + 360 (4.7) 版本: 7.8.4 Learn French, Spanish, Russian, Japanese, German, Italian, Portuguese and Thai! Get addicted to learning Spanish and more with the most fun way to learn a language! Instead of wasting ... ⥯
-
- Language Curry - Speak Indian
- iOS 應用程式: 教育 由: Language Curry
- * 免費
- 清單: 0 + 0 排名: 0 評測: 0
- 點數: 0 + 266 (4.4) 版本: 6.5.1 Namaste! Language enthusiasts across the world are connecting to India through, Language Curry the one-stop shop for learning Indian regional languages (Sanskrit, Hindi, Kannada, ... ⥯
-
- Learn C++ Programming Language
- iOS 應用程式: 教育 由: Ghumman Tech LLC
- * 免費
- 清單: 0 + 0 排名: 0 評測: 0
- 點數: 0 + 0 版本: 3.7 This app is a great resource to learn about C++ Programming Language. The app is engineered to make users perfect understanding common C++ Programming Language questions by studying ... ⥯
-
- Learn Basic Arabic Language A1
- iOS 應用程式: 教育 由: Mobiteach.ltd
- * 免費
- 清單: 0 + 0 排名: 0 評測: 0
- 點數: 0 + 23 (4.6) 版本: 6.1.5 Arabic for Beginners. That s your fast start! Would you like to learn Arabic easily and quickly? Would you like to study Arabic from the beginning? Are you looking for a good ... ⥯
-
- Swedish Language Gym
- iOS 應用程式: 教育 由: Language Lock In
- 免費
- 清單: 0 + 0 排名: 0 評測: 0
- 點數: 0 + 0 版本: 3.18.11 For Swedish Language Gym members to reserve classes, sign up for events, and general account management like updating their headshots and card on file. ⥯
-
- Language Generator
- iOS 應用程式: 教育 由: ZSOLT DEAK
- 免費
- 清單: 0 + 0 排名: 0 評測: 0
- 點數: 1 + 0 版本: 1.1 Language Creator: Your Personal Linguistic Universe Ever dreamed of creating your own language like Tolkien's Elvish or Star Trek's Klingon? Now you can! Design unique languages with: ... ⥯
-
- Language Byte
- iOS 應用程式: 教育 由: Kai Wen Digital
- $4.99
- 清單: 0 + 0 排名: 0 評測: 0
- 點數: 0 + 0 版本: 1.0 Language Byte makes learning Spanish effortless and fun, right from your wrist! Perfect for busy learners who want to expand their vocabulary one bite-sized piece at a time. Key ... ⥯
-
- Language Score-Level Identify
- iOS 應用程式: 教育 由: Ahmad Al Hariri
- $4.99
- 清單: 0 + 0 排名: 0 評測: 0
- 點數: 0 + 0 版本: 1.0 Language Score is an application that provides quizzes to identify your level score in both English and German. English Language Quiz Levels Test your English grammar proficiency with ... ⥯
-
- Programming Hub: Learn Coding
- iOS 應用程式: 教育 由: Rightsol Private Limited
- * 免費
- 清單: 0 + 1 排名: 0 評測: 0
- 點數: 1 + 9,481 (4.8) 版本: 3.4.24 Build your programming skills in a fun way. Learn to code with a game-like learning experience. Explore interactive coding lessons with a one-stop code learning app. Learn to code with ⥯
-
- Programming Hero: Coding Fun
- iOS 應用程式: 教育 由: Codinism Inc
- * 免費
- 清單: 0 + 0 排名: 0 評測: 0
- 點數: 2 + 649 (4.8) 版本: 0.3.1 -- Here, programming just got fun -- BUILD A GAME WHILE LEARNING TO CODE: Quick Action: Apply programming concepts immediately after learning. Practice Anywhere: Practice coding ... ⥯