I guess I am thinking about when I was learning programming and some of the first programs I wrote were hacked graphics programs I had laboriously typed in from a book of BASIC code that I picked up somewhere. Eventually I went to school and took courses but the important thing I think I want to say is that the approach at school was to begin at the beginning.
Some of the first concepts that were difficult for some new students was the idea of what a variable is. I suspect these very basic concepts are the ones I'd like to see in any documentation for kids. Very simple ideas like "BoxA$" can hold a string (what's a string?) and this is where I would probably start writing a tutorial for kids. If the interpreter is sophisticated enough that graphics to illustrate (show a string of letters flying into BoxA$") can be done, then this will go a long way to actually demonstrating the way a computer works.
I don't have a little one that is old enough yet to try this out but I am looking forward to when I can sit my grandson down and start him off on this path. Thanks so much for the language.
R. Frank Louden
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I was actually going to suggest something very similar to this: a way to integrate sort of "interactive" tutorials, or at least a very basic mode to illustrate the most fundamental concepts (control flow, variables, expressions)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The best way to input numbers is to input a string and then change it via the int() or float() functions.
The reason it's that way is that I didn't want to have an input function that produces an error if an unexpected input is typed. Inputting a string and then converting to a number is the right way to handle this, and instead of BASIC-256 doing that behind the scenes, it's a valuable programming lesson, I think.
Have fun with the program, let me know if you have any other problems or suggestions.
-Ian
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'd prefer to have the input command allow integers. I understand what you are saying about reading strings and just converting them being good practice, but I think the main goal should be simplicity first. In GWBasic there use to be a concept of ON ERROR. Although, there could be a key word "ERROR" which could be used to see if there was a problem. The default "error" value could be 0. If someone wants to be sloppy and not do error checking, no harm done.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My opinion is that reading a string from the keyboard and then convert it is easy. It should be a goal to keep the number of commands small as well. The key is to teach them the foundation of programming, not give them a programming language where they can make all kinds of advanced programs with error checking and everything.
If there was an inputint command, I think it should only accept arrow-keys, backspace and numbers, and ignore the other keys. But as I said, my opinion is that it isn't required. Just my two cent ;-)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have the same problem and I can't seem to find the float() function on Help and it doesn't seem to work on the program. I would like to be able to input decimals.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i have a big pleasure.
I want to learn the BASIC-256,
but i can not find a site or anyfing else,
I can not find about all rules, all comands and how i can use them.
Please for your help.
I will be very happy, if you show me where i can find it .
My e-mail is nikikolev71@yahoo.com
Thank you in advance
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Only valuable documentation is sample scripts. In Linux it they are added within standard installation, I don't know about Windows.
In any case you can use sample scripts from source code repository.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My question is :
How i can , in BASIC-256, to remember in some one cell the someone digit.
For exaple in Excel when we write that cell "A1" = 1, and in this cell (A1) always is 1
I just want to do database in BASIC-256
How i can do it ?
Thank you for your help
Success
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
sorry but i don't explain exact.
I need of command like "poke" and "peek" in old Basic.
I want the value ( for example a=4) to put in some cell of memory or maybe ….table.
And when i need i want to read this value from exact cell of memory or maybe table like Excel table.
In old Basic was :
a = 4
Poke 12450,a
Print peek(12450)
And the result is : 4
Just this command (poke) write in cell 12450 in memory the value of "a"
Peek (xxxxx) read the value of this cell
But it was before, and now this is : : sintacsis error
:-(
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Translations require downloading the source(by SVN). In the checked out folder you will find two folders called htdocs (with the web site) and docs (the language reference). The language reference HTML documents are generated from the doc.lisp file and is built bu the gen*.lisp programs. Copy the files in the en folder to "it" and make the changes. This will do the web site and tutorials.
The software can also be translated (menus and messages) using the QT linguist tool to create a language ts file (like found in trunk/Translation). Once this is complete it can be included in the distribution.
If you have ANY questions, I will be available to help.
Jim
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I guess I am thinking about when I was learning programming and some of the first programs I wrote were hacked graphics programs I had laboriously typed in from a book of BASIC code that I picked up somewhere. Eventually I went to school and took courses but the important thing I think I want to say is that the approach at school was to begin at the beginning.
Some of the first concepts that were difficult for some new students was the idea of what a variable is. I suspect these very basic concepts are the ones I'd like to see in any documentation for kids. Very simple ideas like "BoxA$" can hold a string (what's a string?) and this is where I would probably start writing a tutorial for kids. If the interpreter is sophisticated enough that graphics to illustrate (show a string of letters flying into BoxA$") can be done, then this will go a long way to actually demonstrating the way a computer works.
I don't have a little one that is old enough yet to try this out but I am looking forward to when I can sit my grandson down and start him off on this path. Thanks so much for the language.
R. Frank Louden
I was actually going to suggest something very similar to this: a way to integrate sort of "interactive" tutorials, or at least a very basic mode to illustrate the most fundamental concepts (control flow, variables, expressions)
Is there a way to input numbers rather than strings?
If not, that would be a useful feature for us.
Thanks for this program, by the way. My daughter likes it!
The best way to input numbers is to input a string and then change it via the int() or float() functions.
The reason it's that way is that I didn't want to have an input function that produces an error if an unexpected input is typed. Inputting a string and then converting to a number is the right way to handle this, and instead of BASIC-256 doing that behind the scenes, it's a valuable programming lesson, I think.
Have fun with the program, let me know if you have any other problems or suggestions.
-Ian
Hi Ian,
I'd prefer to have the input command allow integers. I understand what you are saying about reading strings and just converting them being good practice, but I think the main goal should be simplicity first. In GWBasic there use to be a concept of ON ERROR. Although, there could be a key word "ERROR" which could be used to see if there was a problem. The default "error" value could be 0. If someone wants to be sloppy and not do error checking, no harm done.
My opinion is that reading a string from the keyboard and then convert it is easy. It should be a goal to keep the number of commands small as well. The key is to teach them the foundation of programming, not give them a programming language where they can make all kinds of advanced programs with error checking and everything.
If there was an inputint command, I think it should only accept arrow-keys, backspace and numbers, and ignore the other keys. But as I said, my opinion is that it isn't required. Just my two cent ;-)
Hi great little program
I have the same problem and I can't seem to find the float() function on Help and it doesn't seem to work on the program. I would like to be able to input decimals.
Dear All,
i have a big pleasure.
I want to learn the BASIC-256,
but i can not find a site or anyfing else,
I can not find about all rules, all comands and how i can use them.
Please for your help.
I will be very happy, if you show me where i can find it .
My e-mail is nikikolev71@yahoo.com
Thank you in advance
Only valuable documentation is sample scripts. In Linux it they are added within standard installation, I don't know about Windows.
In any case you can use sample scripts from source code repository.
Thank you Valdisti, but in sourse code showed only few commands,
But i need of command to make data base , and how i can maka a data base ?
Kidbasic/Basic-256 is for starters it isn't designed for such tasks.
You should probably look at .
: http://www.kbasic.com/
Thank you Valdisvi,
i check kbasic.com, but it something different .
i try to learn it
Success
Dear All,
My question is :
How i can , in BASIC-256, to remember in some one cell the someone digit.
For exaple in Excel when we write that cell "A1" = 1, and in this cell (A1) always is 1
I just want to do database in BASIC-256
How i can do it ?
Thank you for your help
Success
a = 4
print a
: http://kidbasic.sourceforge.net/en/tutorials.html
Dear Valdisti,
sorry but i don't explain exact.
I need of command like "poke" and "peek" in old Basic.
I want the value ( for example a=4) to put in some cell of memory or maybe ….table.
And when i need i want to read this value from exact cell of memory or maybe table like Excel table.
In old Basic was :
a = 4
Poke 12450,a
Print peek(12450)
And the result is : 4
Just this command (poke) write in cell 12450 in memory the value of "a"
Peek (xxxxx) read the value of this cell
But it was before, and now this is : : sintacsis error
:-(
Hello, my name is Yuri and I am a computer engineer.
I would like to collaborate in any way for your project kidbasic even providing documentation in Italian
awaiting news
thanks
Yuri
Yuri,
Translations require downloading the source(by SVN). In the checked out folder you will find two folders called htdocs (with the web site) and docs (the language reference). The language reference HTML documents are generated from the doc.lisp file and is built bu the gen*.lisp programs. Copy the files in the en folder to "it" and make the changes. This will do the web site and tutorials.
The software can also be translated (menus and messages) using the QT linguist tool to create a language ts file (like found in trunk/Translation). Once this is complete it can be included in the distribution.
If you have ANY questions, I will be available to help.
Jim