basicforandroid.wordpress.com
Drawing Objects | BASICoid
https://basicforandroid.wordpress.com/2013/04/30/drawing-objects
Creating Android apps using BASIC! April 30, 2013. Has several graphical objects that can be drawn to the screen. Here is a brief overview of how to display graphical objects. Open the graphics mode. Create a drawing area. Set the drawing color. End the draw mode. Send the object to the display list. Render the display list. This program will draw a solid black square in the upper left corner. Open graphics mode with a white background and no transparency Gr.open 255, 255, 255, 255! From → Tutorials.
basicforandroid.wordpress.com
writeIntShort and readIntShort | BASICoid
https://basicforandroid.wordpress.com/2013/05/03/writeintshort-and-readintshort
Creating Android apps using BASIC! May 3, 2013. Function to write a short integer! Range is from 0 to 65535! Function to read a short integer! Write 257 to a 2 byte block call writeIntShort (savegame.dat,257)! Write 14 to a 2 byte block call writeIntShort (savegame.dat,31032)! Read a 2 byte block at position 1 an return the integer someInt=readIntShort (saveGame.dat,1) print someInt! Read a 2 byte block at position 3 an return the integer someInt=readIntShort (saveGame.dat,3) print someInt. You are comme...
basicforandroid.wordpress.com
BASICoid | Creating Android apps using BASIC! | Page 2
https://basicforandroid.wordpress.com/page/2
Creating Android apps using BASIC! Welcome to my site on programming Android apps with BASIC! Check out the Tutorials. Page to begin programming your Android device. April 16, 2013. Welcome to my site for learning how to program Android apps using RFO BASIC! Is an Android app that lets you create programs for your Android device using a dialect of Dartmouth Basic. These tutorials are designed to teach someone who has little or no experience in programming how to create programs using BASIC! April 16, 2013.
basicforandroid.wordpress.com
Controlling The Flow | BASICoid
https://basicforandroid.wordpress.com/2013/04/23/controlling-the-flow
Creating Android apps using BASIC! April 23, 2013. You can use the IF-THEN-ELSE. Statements to control the flow of your program based on the conditions you set. Print a statement based on the result of a random number! Generate a number from 1 to 6 randomNumber=floor(rnd()*6) 1 if randomNumber 3 then print A high number was rolled. else print A low number was rolled. endif. Statement generates a number less than one but equal to or greater than zero. The FLOOR. Example of nested IF statement pre! RandomN...
basicforandroid.wordpress.com
Functions | BASICoid
https://basicforandroid.wordpress.com/functions
Creating Android apps using BASIC! These are some user defined functions that I created for use in my programs. 8211; Returns a random integer from a range of two integers. 8211; Returns the distance between two points. 8211; Read a 2 byte short integer. 8211; Calculate dice rolls. 8211; Write a 2 byte short integer. Leave a Reply Cancel reply. Enter your comment here. Fill in your details below or click an icon to log in:. Address never made public). Notify me of new comments via email.
basicforandroid.wordpress.com
Tutorials | BASICoid
https://basicforandroid.wordpress.com/tutorials
Creating Android apps using BASIC! These tutorials are designed to teach someone who has little or no experience in programming how to create programs using BASIC! Let’s Start Programming – Hello World. Variable Basics – Strings and numbers. Converting Variable Data – Strings to numbers, numbers to strings. Loops – FOR, WHILE, DO. Controlling The FLOW – IF/THEN/ELSE. Leave a Reply Cancel reply. Enter your comment here. Fill in your details below or click an icon to log in:. Address never made public).
basicforandroid.wordpress.com
Loops | BASICoid
https://basicforandroid.wordpress.com/2013/04/18/loops
Creating Android apps using BASIC! April 18, 2013. I use the FOR. Loops the most. Typically FOR. Loops cycle through contained code a set number of times. A WHILE. S the code while a condition is met. A DO. Loop repeats the code UNTIL. A condition is met. Count from 1 to 10 with a FOR loop cls for i=1 to 10 print i next print All done! Loop must be terminated with NEXT. The following program using a WHILE. Loop accomplishes the same as the previous FOR. Loop You must terminate your WHILE. Address never m...
basicforandroid.wordpress.com
Let’s Start Programming | BASICoid
https://basicforandroid.wordpress.com/2013/04/16/lets-start-programming
Creating Android apps using BASIC! Let’s Start Programming. April 16, 2013. Usually the first program you are taught in a programming tutorial is the “Hello World” program. This is just a simple program to display the text “Hello World”. Here’s the code:. A program to print Hello World cls print Hello World. Run the code and you should see the words “Hello World” on your screen. The PRINT. Statement lets you display strings and numbers on the screen. The first line of code that leads off with a “!
basicforandroid.wordpress.com
Variable Basics | BASICoid
https://basicforandroid.wordpress.com/2013/04/17/variables
Creating Android apps using BASIC! April 17, 2013. Variables are used to store information in BASIC! The two types of variables that BASIC! Uses are string variables and number variables. Variables are not case-sensitive in BASIC! Here is an example of a number variable. Is set to a value of 10.5. Anytime you use. In a calculation or print. Statement, 10.5 is used for the value. Print the variable someNumber cls someNumber=10.5 print someNumber. Here is an example of a string variable. Enter your email a...
SOCIAL ENGAGEMENT