GEKKOTECH
Syntax error. In GG BASIC - Printable Version

+- GEKKOTECH (https://www.forum.gekkotech.net)
+-- Forum: GEKKO FORUM (https://www.forum.gekkotech.net/forum-3.html)
+--- Forum: HELP (https://www.forum.gekkotech.net/forum-6.html)
+--- Thread: Syntax error. In GG BASIC (/thread-10157.html)



Syntax error. In GG BASIC - Frank C - 21-09-2013

I programmed in basic years ago and I could use a line like:

10 INPUT "How much is 2x2? "A

I used this line to get input from the person running the program. The A would be the variable for the answer to the question.
In GG BASIC what would I use to do the same thing?


Syntax error. In GG BASIC - xGEKKOx - 21-09-2013

Hi Frank, i link you an help i done when i programmed the GG Basic.
There is also a sample with the input field in the online list.

Anyway....
Look Here

This is the correct mode:
Code:
//Input(x, y, width, font_size, input_var) $var = ""; Input(100, 100, 250, 24, $var)

In your case you need to use Print and after Input.
After all use Render() to show.

I'm happy you are using it, i will update it soon for iOS 6 / iOS7
If you have some functions to suggest please don't hesitate.