BASIC - Programming Language vs Learn Fortran Programming Usage & Stats

BASIC: THE FEELING OF THE GOOD OLD TIMES ! 10 INPUT A 20 B = SIN(A) 30 PRINT "ANSWER: ", B 40 END BASIC USER'S GUIDE: • 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.
  • Apple App Store
  • Paid
  • Education

Store Rank

- -

This comprehensive app is designed for students, engineers, researchers... to be able to use Fortran language from scratch to program in a simple and practical way. Never mind if you have no experience in programming, you will be equally capable of understanding everything and you will finish the course with mastery of the subject. After several years working as an Engineer, I have realized that mastering Fortran to program today is something very necessary in engineering or other programming applications. Some people thinks that Fortran is an old, but the fact is that the demand is increasing. Knowing how to program this language can give you many job opportunities and many economic benefits, especially in the scientific or engineering field. The big problem has always been the complexity to learn that programming requires, since its understanding is not easy. In this course I try to facilitate this entire learning and improvement process, and you will be able to carry out and understand your own codes in a short time, thanks to the step-by-step and detailed examples of every concept. This app includes coding exercises and theoretical explanations as well as practical examples to master Fortran. This app will teach you Fortran in a practical manner. We will start by helping you get Fortran installed on your computer, regardless of your operating system, whether its Linux, MacOS, or Windows, we've got you covered. Then, we will cover a wide variety of topics, including: Installation and Introduction to Fortran Elementary features fortran Program Preparation fortran Decision fortran Fortran Loops Fortran Errors Subprograms and Modules fortran Fortran Arrays Advanced Input and Output Fortran Handling Characters Derived Types Structures Fortran Pointer Variables Simulation Fortran Matrices and Their Applications Introduction to Numerical Methods Fortran Practical Exercises and much more! Fortran, as derived from Formula Translating System, is a general-purpose, imperative programming language. It is used for numeric and scientific computing. Fortran was originally developed by IBM in the 1950s for scientific and engineering applications. Fortran ruled this programming area for a long time and became very popular for high performance computing, because. It supports − Numerical analysis and scientific computation Structured programming Array programming Modular programming Generic programming High performance computing on supercomputers Object oriented programming Concurrent programming Reasonable degree of portability between computer systems Facts about Fortran Fortran was created by a team, led by John Backus at IBM in 1957. Initially the name used to be written in all capital, but current standards and implementations only require the first letter to be capital. Fortran stands for FORmula TRANslator. Originally developed for scientific calculations, it had very limited support for character strings and other structures needed for general purpose programming. Later extensions and developments made it into a high level programming language with good degree of portability. Original versions, Fortran I, II and III are considered obsolete now. Oldest version still in use is Fortran IV, and Fortran 66. Most commonly used versions today are : Fortran 77, Fortran 90, and Fortran 95. Fortran 77 added strings as a distinct type. Fortran 90 added various sorts of threading, and direct array processing.
  • Apple App Store
  • Paid
  • Education

Store Rank

- -

BASIC - Programming Language vs. Learn Fortran Programming ranking comparison

Compare BASIC - Programming Language ranking trend in the past 28 days vs. Learn Fortran Programming

Rank

No Data Available

BASIC - Programming Language vs. Learn Fortran Programming ranking by country comparison

Compare BASIC - Programming Language ranking trend in the past 28 days vs. Learn Fortran Programming

All categories

No Data Available

Compare to any site with our free trial

Get started
BASIC - Programming Language VS.
Learn Fortran Programming

March 15, 2025