News for hackers. Stuff that matters.

svb_2023

Where are the details?
Hi musical. Thanks for your kind words. Until now, sVB runs only on window, but it is open source, and anyone can fork it and create other versions to run on other systems and mobile. https://github.com/VBAndCs/sVB-Small-Visual-Basic
* Small Visual Basic is the visual version of Small Basic and small version of Visual Basic.

* It took 4 years of my life to be evolved over 3 versions until it is finally complete, and I hope you try it and tell others about. It is totally free and open source.

* sVB can be used to introduce programming to 6 years old kids and above, in an easy and simple way. Using the form designer to graphically design windows, allows to create amazing applications with few lines of code. All you need is to prepare some attractive images, drag them on the form designer, and use the animation methods to write some short and funny applications that interest small kids (see the animation and Jerry projects in the samples folder).

* But sVB is not just for kids. It is also a powerful language for adult beginners, who can use it as an easy doorway to learn VB .NET and VS .NET.

* sVB can create applications that show one or more window, draw simple and advanced graphics and animate them, play sounds, open and save files, create games, and so many other interesting things. The sVB samples folder, which is installed with language, contains more than 90 different samples, including the Ball, Cars, Tetris, Tom and Jerry games, and many other interesting samples.

* sVB still has the Small Basic TextWindow, GraphicsWindow and Turtle, but that have many improvements and new features.

* sVB has a Form Designer that contains a toolbox, a font dialog, a color dialog, a properties window, and a menu designer, so that you can easily and quickly design amazing forms with 12 different types of controls in addition to timers and menus .

* sVB adds many improvements to the Small Basic code editor like auto-formatting code.

* sVB has a code debugger that allows you to step into code lines, and add breakpoint to force the debugger stop at their lines. In debug mode, you can also view the value of any variable or expression. You can use the debugger to fix code errors, and it can also be an educational tool that you can use to show kids how the code is executed to help them understand loops and function calls.

* The sVB compiler is an improved version of the Small Basic compiler, with new syntax features like defining functions, parameters and local variables, using array initializers, and splitting long code lines over multiple sub-lines. The sVB keywords includes the 14 Small Basic keywords + 16 mew keywords like the Mod and & operators.

* You can use the sVB Evaluator to evaluate math expressions at run time, which allows you to create an application to draw any function. See the "Draw Functions" project in the sVB samples folder.

* sVB can create multi-form projects and code libraries.

* sVB can define test functions and you can use the UnitTest library to run them and show the test results.

Re:Book: Small Visual Basic Kid Programmer on Thursday February 15, 2024 @09:54PM (#39392599)
Download the Small Visual Basic installer: https://marketplace.visualstudio.com/items?itemName=ModernVB...
Re:Book: Small Visual Basic Kid Programmer on Tuesday February 13, 2024 @03:13PM (#39362264)
About the book: This book introduces text-based programming to 6 years old kids and above, using the Small Visual Basic language, in a way that makes it easier and more helpful than block-based programming. This is possible because Small Visual Basic has an easy-to-use form designer, which allows the kid to play with controls, colors and images to design simple and nice forms, and create desktop applications with a few lines of code. In fact, the kid will not start to write any code at all until the last third of the book's volume, where he will learn about the code editor, and use it to execute simple tasks in runtime. And to keep it as simple as possible, each task in this book is done by a single line of code, without using any variables, arrays, if statements, nor loops! Everything will be done by just a simple assignment statement and arithmetic operations! This is why the book content is suitable for 6 years old kids, as it doesn't involve any complex logic. But this doesn't mean that the kid will not learn important programming concepts. Practically, the kid will learn in easy steps how to use the form and controls and their properties and events, where most properties are manipulated by the form designer without writing any code. The only property that he will use in code is the Text property of a label or a textbox, and the only event is the button's OnClick. This is super easy, however it still allows the kid to build 5 useful applications, like the primitive calculator in the fifth application, in addition to similar applications the kid is asked to write as exercises. This approach aims to make the kid seamlessly learn the basics of Object Oriented Programming (OOP) and Event Driven Programming, in a simple and enjoyable way. The book also helps parents and teachers to instruct and train their kids and measure their understanding, by introducing MCQ questions and exercises at the end of each chapter, in addition to a graduation project at the conclusion chapter.

About this series: This level-1 book is only the first step ob the road. Small Visual Basic is designed to have the best of both Small Basic and Visual Basic, so it is the easiest language to start learning programming with, while it is still powerful enough to serve as an easy door to move on to VB.NET and the DotNet platform or any other professional programming language like C#. This is the journey that we will take together along the upcoming levels of this book series. But these books are not just about building up a professional programmer, as it also aims to help students to be better in Math and science by applying their educational knowledge in creating funny graphics, attractive animations, and simple games, among other windows forms applications they will create. This level-1 book doesn't require Math background beyond the basic arithmetic operations: addition, subtraction, multiplication and division. Leveling up, these requirements will gradually increase, in parallel with the kids educational level.

What will the kid learn in this book: By the end of this level-1 book, the reader will understand: • The sVB Form designer • The sVB code editor • Design time and runtime. • The assignment statement. • String literals and string concatenation. • Setting and reading a property value with code. • Event handlers

And he will be able to: • Download and install the Small Visual Basic. • Use the sVB form designer to create simple projects with no code. • Play with colors and images. • Write simple programs each with a single line of code. • Handle the button OnClick event. • Create a primitive calculator to do the +, -, *, and / operations.

Re:Small Visual Basic eBook on Thursday May 25, 2023 @10:52PM (#36079196)
:D I thought I've fixed this 20008 typo (as I got several funny comments about), but I seem to did this in a backup copy not the original file! Such typos can reveal one's true identity, which risks to alter the timeline :D Thanks @wsc981, and I wish to hear about your new generation of TI-BASIC soon.
Re:Small Visual Basic eBook on Thursday May 25, 2023 @10:44PM (#36079129)
Why flagging a PDF file? Can PDFs have viruses?
Re:Small Visual Basic eBook on Monday May 22, 2023 @07:32AM (#36030073)
I provided the sVB full reference book (751 pages) which covers the language syntax, IDE and lib in full details with samples. It also provides links to the source code and the installer. Small Visual Basic (sVB) is an open source educational programming language. It is an evolved version of Microsoft Small Basic (SB) that is meant to be easier and more powerful at the same time, to introduce programming basics to kids and beginners of any age, provided that they can use the English keyboard on the Windows operating system. sVB has the best of SB, VB6, VB .NET, VS .NET IDE, Win Forms, and WPF.
Re:Microsoft Small Basic on Tuesday May 16, 2023 @09:43AM (#35961782)
I took SB to the next level in Small visual Basic. Its source code is published, and it consists of 7 WPF (VB .NET) projects, so you can fork the language and modify the form designer and code editor as you like: https://github.com/VBAndCs/sVB-Small-Visual-Basic
Re:Microsoft Small Basic on Tuesday May 16, 2023 @02:07AM (#35958226)
I creeated Small Visual Basic to solve this issue. It's based on SB but more powerful, and it is actually an easy incarnate to the dot net platform, so, actually easier that C and even python and more powerful as it leads to learn a powerful commercial system (VS.NET). https://github.com/VBAndCs/sVB-Small-Visual-Basic
Re:Microsoft Small Basic on Tuesday May 16, 2023 @02:03AM (#35958205)
Re:Microsoft Small Basic on Tuesday May 16, 2023 @02:01AM (#35958192)
I've fixed this issues in Small Visual Basic: https://github.com/VBAndCs/sVB-Small-Visual-Basic sVB has local and global scopes, functions that return values, and subs and functions with parameters. Also, sVB is a semi object oriented language, that allow access instant properties and methods of objects. It has a form designer and a mini winforms lib, so it can easily create multi-form apps.
Re:Microsoft Small Basic on Tuesday May 16, 2023 @01:51AM (#35958137)
This is the full reference book of sVB. It contains 750 pages full of info and samples. https://drive.google.com/file/d/1pCnB4_7pEBc_wT2u258MmutYCuX... sVB is not really small, and it takes SB to a higher level to be a middle stage towards VB.NET and WPF. So, sVB can offer many levels of learning for kids, middle and high school students, and even beginners in collages that don't study programming. I created a series of short videos (10 minutes in avg) to introduce sVB to kids but it is in Arabic. I am not a fluent English speaker, and re-introducing these videos in English will take me too long besides accent issues, so, I hope others can introduce these lessons in English and other languages, with the help of the reference book and the samples folder. https://www.youtube.com/@smallvisualbasic
Re:Microsoft Small Basic on Tuesday May 16, 2023 @01:41AM (#35958084)
Hi @vijayer Thanks for the amazing language. I'd like to tell you that I've eveolde SB by adding a form designer and a mini winforms lib, in addition to many modification to the compiler itself. For more details: https://github.com/VBAndCs/sVB-Small-Visual-Basic I also provided a 750 pages reference book for sVB: https://drive.google.com/file/d/1pCnB4_7pEBc_wT2u258MmutYCuX...

Thanks.

Re: on Sunday May 14, 2023 @11:36PM (#35943631)
Small Visual Basic (sVB) is an educational programming language, created by Eng. Mohammad Hamdy as an evolved version of Microsoft Small Basic (SB). It is meant to be easier and more powerful at the same time, to introduce programming basics to kids and beginners of any age, provided that they can use the English keyboard on the Windows operating system. You can say that: Small Visual Basic = Small Basic + Visual Basic but this in not the whole truth! sVB is meant to be a middle stage in between SB and VB .NET, so, its syntax combines the best of SB, VB, and VB .NET languages! It is also as easy as Windows Forms, but also has some advanced WPF graphical features! Download the sVB installer: https://marketplace.visualstudio.com/items?itemName=ModernVB...

Read or download the free e-book: https://drive.google.com/file/d/1pCnB4_7pEBc_wT2u258MmutYCuX...