-
Notifications
You must be signed in to change notification settings - Fork 7
Description
Something which is missed in a lot of IDEs:
An easy tutorial-interface.
With an tutorial-interface I mean not to have links to complete programs in the IDE (like in the current Ted2Go).
I mean something, where a Tutorial-dialog-window opens over the IDE and tells some instructions and can read all in the IDE.
For example, there opens a tutorial dialog-window, in which stands
Press "Ctrl" + "N" and write in the upcomming textfileld
Function Main()
Print "Hello World!"
End
and then press "F5"
And the tutorial-interface can then read the output, if there comes an "Hello World!".
If this is happend, it go to the next step.
It opens a tutorial window in which stands
Now write this one in the window and press "F5"
Function Main()
Local i:Int
For i = 1 To 10
Print i
Next
End
The tutorial-program again reads, if all numbers are outputted.
In the next tutorial-window would then standing:
Now giving out the numbers from 4 to 30, but using not more then six lines for it.
Now the tutorial-program, have to read, how many lines are used and reading the output, to "see" if the program is correct.
At next would be a window in which stands
Now modify the program, to giving the following out, but don't use more then six lines
1
4
9
16
25
36
49
64
81
100
The limited lines are needed, to forbid, that the user writes
Function Main()
Print 1
Print 4
Print 9
Print 16
Print 25
Print 36
Print 49
Print 64
Print 81
Print 100
End
To write such an tutorial-program, it needs to open a window with text over the IDE, it have to read the textarea of the current file and it have to read the output.