{"id":19735,"date":"2022-10-25T01:04:09","date_gmt":"2022-10-24T23:04:09","guid":{"rendered":"https:\/\/rayshell.de\/?page_id=19735"},"modified":"2023-10-25T02:56:56","modified_gmt":"2023-10-25T00:56:56","slug":"lesson-1","status":"publish","type":"page","link":"https:\/\/rayshell.de\/en\/lesson-1\/","title":{"rendered":"Lesson 1"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"19735\" class=\"elementor elementor-19735 elementor-22715\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-6a43993 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"6a43993\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-top-column elementor-element elementor-element-15b7ef3\" data-id=\"15b7ef3\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-top-column elementor-element elementor-element-89672dd\" data-id=\"89672dd\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-048a01a elementor-widget elementor-widget-heading\" data-id=\"048a01a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Lesson 1<br><br><\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0c99b77 elementor-widget elementor-widget-text-editor\" data-id=\"0c99b77\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>These 6 \u00a9AOZ Studio\u2122 Basic Lessons were kindly provided to me by the AOZ team for deployment on RayShell Computer Department.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-87321a6 elementor-widget elementor-widget-text-editor\" data-id=\"87321a6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Have fun with RayShell and AOZ Studio\u2122 and share your experience with your friends.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e0f7baa elementor-widget elementor-widget-text-editor\" data-id=\"e0f7baa\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Note from RayShell: Program notes and explanations are entered after a double slash \/\/, Rem or &#8216; and will appear green in the editor. Anything after a \/\/ will not be executed by AOZ Studio\u2122 and is for overview purposes only. It is always a good idea to annotate your own program to keep track of it when editing later.<\/p><p>Only all the text in the black code boxes in these lessons here is AOZ code, click in the upper right corner on copy to copy the code to the clipboard. Go to the AOZ Studio\u2122 Editor and paste the code inside your program or type the code yourself.<\/p><p>But most important is to create your own programs with the AOZ Studio\u2122 commands learned here in the 6 lessons. Change the values, add your own text and images and play around freely.<\/p><p>If you have entered an AOZ Studio\u2122 command incorrectly, the program will stop and a syntax error will be displayed at the bottom of the editor with the line number. Then correct the error in this line and restart the program.<\/p><p>In the editor, you can see from the text colors whether the command was entered correctly or incorrectly. For better learning I recommend to type the commands presented here into the editor by yourself so that the way of programming with AOZ becomes really memorized. If you want to make your own apps and games you have to do it.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-35c5f0a elementor-widget elementor-widget-image\" data-id=\"35c5f0a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/rayshell.de\/wp-content\/uploads\/2022\/11\/AOZ-Code-editor.png\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"AOZ Code editor\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MjU2MzMsInVybCI6Imh0dHBzOlwvXC9yYXlzaGVsbC5kZVwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyMlwvMTFcL0FPWi1Db2RlLWVkaXRvci5wbmcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img fetchpriority=\"high\" decoding=\"async\" width=\"640\" height=\"268\" src=\"https:\/\/rayshell.de\/wp-content\/uploads\/2022\/11\/AOZ-Code-editor.png\" class=\"attachment-large size-large wp-image-25633\" alt=\"\" srcset=\"https:\/\/rayshell.de\/wp-content\/uploads\/2022\/11\/AOZ-Code-editor.png 1004w, https:\/\/rayshell.de\/wp-content\/uploads\/2022\/11\/AOZ-Code-editor-300x126.png 300w, https:\/\/rayshell.de\/wp-content\/uploads\/2022\/11\/AOZ-Code-editor-768x322.png 768w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-6ebb471 elementor-widget elementor-widget-text-editor\" data-id=\"6ebb471\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>In the editor, click on the paper icon on the far left to create your first project. A selection window opens:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8a02fb0 elementor-widget elementor-widget-image\" data-id=\"8a02fb0\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/rayshell.de\/wp-content\/uploads\/2023\/05\/aoz_new_project_start_small.png\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"aoz_new_project_start_small\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6Mjc2NzQsInVybCI6Imh0dHBzOlwvXC9yYXlzaGVsbC5kZVwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyM1wvMDVcL2Fvel9uZXdfcHJvamVjdF9zdGFydF9zbWFsbC5wbmcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img decoding=\"async\" width=\"607\" height=\"185\" src=\"https:\/\/rayshell.de\/wp-content\/uploads\/2023\/05\/aoz_new_project_start_small.png\" class=\"attachment-large size-large wp-image-27674\" alt=\"\" srcset=\"https:\/\/rayshell.de\/wp-content\/uploads\/2023\/05\/aoz_new_project_start_small.png 607w, https:\/\/rayshell.de\/wp-content\/uploads\/2023\/05\/aoz_new_project_start_small-300x91.png 300w\" sizes=\"(max-width: 607px) 100vw, 607px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7462a51 elementor-widget elementor-widget-image\" data-id=\"7462a51\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/rayshell.de\/wp-content\/uploads\/2023\/05\/newaozproject.png\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"newaozproject\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6Mjc2NzgsInVybCI6Imh0dHBzOlwvXC9yYXlzaGVsbC5kZVwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyM1wvMDVcL25ld2FvenByb2plY3QucG5nIn0%3D\">\n\t\t\t\t\t\t\t<img decoding=\"async\" width=\"640\" height=\"418\" src=\"https:\/\/rayshell.de\/wp-content\/uploads\/2023\/05\/newaozproject.png\" class=\"attachment-large size-large wp-image-27678\" alt=\"\" srcset=\"https:\/\/rayshell.de\/wp-content\/uploads\/2023\/05\/newaozproject.png 901w, https:\/\/rayshell.de\/wp-content\/uploads\/2023\/05\/newaozproject-300x196.png 300w, https:\/\/rayshell.de\/wp-content\/uploads\/2023\/05\/newaozproject-768x502.png 768w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-5ede7f3 elementor-widget elementor-widget-text-editor\" data-id=\"5ede7f3\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Click on Cross-platform AOZ application to create a new project.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-75efa18 elementor-widget elementor-widget-image\" data-id=\"75efa18\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/rayshell.de\/wp-content\/uploads\/2023\/05\/newaozproject_create.png\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"newaozproject_create\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6Mjc2ODMsInVybCI6Imh0dHBzOlwvXC9yYXlzaGVsbC5kZVwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyM1wvMDVcL25ld2FvenByb2plY3RfY3JlYXRlLnBuZyJ9\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"416\" src=\"https:\/\/rayshell.de\/wp-content\/uploads\/2023\/05\/newaozproject_create.png\" class=\"attachment-large size-large wp-image-27683\" alt=\"\" srcset=\"https:\/\/rayshell.de\/wp-content\/uploads\/2023\/05\/newaozproject_create.png 899w, https:\/\/rayshell.de\/wp-content\/uploads\/2023\/05\/newaozproject_create-300x195.png 300w, https:\/\/rayshell.de\/wp-content\/uploads\/2023\/05\/newaozproject_create-768x500.png 768w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d758f85 elementor-widget elementor-widget-text-editor\" data-id=\"d758f85\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>In the Project Title field, delete the >My Application< entry and enter a name of your choice. Fill the other fields as you like.<br \/>Then click Create at the bottom right.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-507c2b2 elementor-widget elementor-widget-image\" data-id=\"507c2b2\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/rayshell.de\/wp-content\/uploads\/2021\/12\/AOZ-Editor-11.png\" data-elementor-open-lightbox=\"yes\" data-elementor-lightbox-title=\"AOZ Editor 11\" data-e-action-hash=\"#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NDU2OSwidXJsIjoiaHR0cHM6XC9cL3JheXNoZWxsLmRlXC93cC1jb250ZW50XC91cGxvYWRzXC8yMDIxXC8xMlwvQU9aLUVkaXRvci0xMS5wbmcifQ%3D%3D\">\n\t\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"400\" src=\"https:\/\/rayshell.de\/wp-content\/uploads\/2021\/12\/AOZ-Editor-11-1024x640.png\" class=\"attachment-large size-large wp-image-4569\" alt=\"\" srcset=\"https:\/\/rayshell.de\/wp-content\/uploads\/2021\/12\/AOZ-Editor-11-1024x640.png 1024w, https:\/\/rayshell.de\/wp-content\/uploads\/2021\/12\/AOZ-Editor-11-300x188.png 300w, https:\/\/rayshell.de\/wp-content\/uploads\/2021\/12\/AOZ-Editor-11-768x480.png 768w, https:\/\/rayshell.de\/wp-content\/uploads\/2021\/12\/AOZ-Editor-11-1536x960.png 1536w, https:\/\/rayshell.de\/wp-content\/uploads\/2021\/12\/AOZ-Editor-11.png 1680w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/>\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b042a21 elementor-widget elementor-widget-text-editor\" data-id=\"b042a21\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>In the editor window you can now enter the AOZ commands to create an AOZ app.<\/p><p>So we are ready, let\u2019s start!<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-8798977 elementor-widget elementor-widget-text-editor\" data-id=\"8798977\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><strong><em>The Print command&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/em><\/strong><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-65fb3ae elementor-widget elementor-widget-code-highlight\" data-id=\"65fb3ae\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-tomorrow copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-javascript \">\n\t\t\t\t<code readonly=\"true\" class=\"language-javascript\">\n\t\t\t\t\t<xmp>Print \"Hello\"\nEnd<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-47e25fa elementor-widget elementor-widget-text-editor\" data-id=\"47e25fa\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>**Click on the \u201cBuild and Run\u201d button in the middle, it looks like a PLAY button or push F1 to run it inside your IDE.<\/p><p>Wait about 10 seconds for the compilation to occur, this is the process to transform your program made of AOZ Instructions (easy to understand for humans) into executable instructions (that your computer may understand and Run)<\/p><p>You should have seen the Hello word in your automatically opened web browser.<\/p><p>So\u2026 yes, you are a programmer!<\/p><p>All right, now take it a step further. Try your own words or &#8220;string&#8221; between the two text marks &#8221; &#8221; and replace hello.<\/p><p>Click Run in Browser (F1) or Run in AOZ Viewer (F2) to see the result.<\/p><p>Now let\u2019s continue the lesson. First delete the End instruction above, so the following instructions will be executed as well:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9ab6947 elementor-widget elementor-widget-text-editor\" data-id=\"9ab6947\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><strong><em>The Locate Command&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/em><\/strong><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-9776ec8 elementor-widget elementor-widget-text-editor\" data-id=\"9776ec8\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Locate tells the program where to Print the string on the screen.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-0cfe36e elementor-widget elementor-widget-code-highlight\" data-id=\"0cfe36e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-tomorrow copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-javascript \">\n\t\t\t\t<code readonly=\"true\" class=\"language-javascript\">\n\t\t\t\t\t<xmp>Locate 5.1\nPrint \"You\"\nEnd<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3f02d0c elementor-widget elementor-widget-text-editor\" data-id=\"3f02d0c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>The number after the &#8220;Locate&#8221; command tells the computer the number of text blocks down or to the right, In this case 5 counted to the right and 1 counted down from the top left.<\/p><p>**Click on the \u201cBuild and Run\u201d button in the middle, it looks like a PLAY button or push F1 to run it inside your IDE<\/p><p>**Now, delete the End instruction above, so the following instructions will be executed as well:<\/p><p>\u00a0<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-bbef291 elementor-widget elementor-widget-text-editor\" data-id=\"bbef291\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><strong><em>The Input command&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/em><\/strong><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1e14e3a elementor-widget elementor-widget-text-editor\" data-id=\"1e14e3a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Input enables the retrieval of information to use it in the program<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b4c6f0c elementor-widget elementor-widget-code-highlight\" data-id=\"b4c6f0c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-tomorrow copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-javascript \">\n\t\t\t\t<code readonly=\"true\" class=\"language-javascript\">\n\t\t\t\t\t<xmp>Input \"What is your name?\";name$\nPrint name$\nInput \"How old are you?\";age\nPrint \"Your age is: \";age\nEnd<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-bbabeb9 elementor-widget elementor-widget-text-editor\" data-id=\"bbabeb9\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>The first &#8220;input&#8221; asks for a name and that is called a string so the string variable name$ is used in this example (we could have called it MyName$ or bunny$ or&#8230;) The important thing is to use a word that you as a programmer understand what is meant. The second &#8220;input&#8221; asks for a number and this number is stored in the variable &#8220;age&#8221;.<\/p><p>Notice how the semi-colon, (;) allows us to combine the printed \u201cYour age is: \u201d to the variable stored in age<\/p><p>**Click on the \u201cBuild and Run\u201d button in the middle, it looks like a PLAY button or push F1 to run it inside your IDE<\/p><p>**Now, delete the End instruction above, so the following instructions will be executed as well:<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-e92e426 elementor-widget elementor-widget-text-editor\" data-id=\"e92e426\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p><strong><em>The Pen Command<\/em> and the For-to-next Command&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<\/strong><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1433f14 elementor-widget elementor-widget-text-editor\" data-id=\"1433f14\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>The Pen command sets the color of the text.<\/p><p>The For-to-next command is a combined command to program automatically repeating loops.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-4c4ae30 elementor-widget elementor-widget-code-highlight\" data-id=\"4c4ae30\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"code-highlight.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"prismjs-tomorrow copy-to-clipboard \">\n\t\t\t<pre data-line=\"\" class=\"highlight-height language-javascript \">\n\t\t\t\t<code readonly=\"true\" class=\"language-javascript\">\n\t\t\t\t\t<xmp>For n = 1 to 20\nPen n\nLocate 40,n\nPrint name$ + \" is Super!\"\nWait 0.5\nNext\nEnd<\/xmp>\n\t\t\t\t<\/code>\n\t\t\t<\/pre>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-7fc1986 elementor-widget elementor-widget-text-editor\" data-id=\"7fc1986\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>This program code here will run through several colors in the text and the variable n will be incremented step by step from 1 to 20.<br \/>The first time the for-to-next loop passes through is n=1 and the following is executed.<br \/>The Pen 1 command which now sets the text color to white &#8211; the Locate command to 40 (to the right) and 1 (down) &#8211; then comes the Print command and the loop goes back to the For n=1 to 20 line while the contents of n increase by 1. So with n=2 Pen 2 and Locate 40,2 will result in the next Print command being printed one line below. This is repeated until n=20, then the loop is terminated and the next command after &#8220;Next&#8221; is executed.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-63da28a elementor-widget elementor-widget-text-editor\" data-id=\"63da28a\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>If you haven&#8217;t figured it all out yet, don&#8217;t worry. You can also program a simple loop e.g.: For n=1 to 5 :Print n:Next<\/p><p>Colons can be used to program AOZ commands one after the other.<\/p><p>With the &#8220;Wait&#8221; command a program can be paused so that the output can be followed, in this case 0.2 seconds.<\/p><p>Step by step, no problem if it&#8217;s not all so clear right away. Have fun and change the values and texts as you like.<\/p><p>OK lot of explanations, so now let see what it does.<\/p><p>**Click on the &#8220;Run in Browser&#8221; button or F1 to start the program in the browser or on &#8220;Run in AOZ Viewer&#8221; (F2) to start it in the editor.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-bbbc60e elementor-widget elementor-widget-text-editor\" data-id=\"bbbc60e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Great, congratulations! That&#8217;s the end of Lesson 1. You&#8217;re ready to start with <a href=\"https:\/\/rayshell.de\/en\/lesson-2\/\"> <strong>Lesson 2<\/strong> <\/a>now&nbsp; \ud83d\ude42<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ba21053 elementor-widget elementor-widget-text-editor\" data-id=\"ba21053\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Updated 23.07.2023<br \/>Tested with AOZ Studio\u2122 version 1.0 Update 44 on 23.07.2023<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-top-column elementor-element elementor-element-8ce0f27\" data-id=\"8ce0f27\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Lesson 1 These 6 \u00a9AOZ Studio\u2122 Basic Lessons were kindly provided to me by the AOZ team for deployment on RayShell Computer Department. Have fun with RayShell and AOZ Studio\u2122 and share your experience with your friends. Note from RayShell: Program notes and explanations are entered after a double slash \/\/, Rem or &#8216; and [&hellip;]<\/p>\n","protected":false},"author":153,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-19735","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Lesson 1 - RayShell Computer Department<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/rayshell.de\/en\/lesson-1\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Lesson 1 - RayShell Computer Department\" \/>\n<meta property=\"og:description\" content=\"Lesson 1 These 6 \u00a9AOZ Studio\u2122 Basic Lessons were kindly provided to me by the AOZ team for deployment on RayShell Computer Department. Have fun with RayShell and AOZ Studio\u2122 and share your experience with your friends. Note from RayShell: Program notes and explanations are entered after a double slash \/\/, Rem or &#8216; and [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/rayshell.de\/en\/lesson-1\/\" \/>\n<meta property=\"og:site_name\" content=\"RayShell Computer Department\" \/>\n<meta property=\"article:modified_time\" content=\"2023-10-25T00:56:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/rayshell.de\/wp-content\/uploads\/2022\/11\/AOZ-Code-editor.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/rayshell.de\\\/en\\\/lesson-1\\\/\",\"url\":\"https:\\\/\\\/rayshell.de\\\/en\\\/lesson-1\\\/\",\"name\":\"Lesson 1 - RayShell Computer Department\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/rayshell.de\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/rayshell.de\\\/en\\\/lesson-1\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/rayshell.de\\\/en\\\/lesson-1\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/rayshell.de\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/AOZ-Code-editor.png\",\"datePublished\":\"2022-10-24T23:04:09+00:00\",\"dateModified\":\"2023-10-25T00:56:56+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/rayshell.de\\\/en\\\/lesson-1\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/rayshell.de\\\/en\\\/lesson-1\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/rayshell.de\\\/en\\\/lesson-1\\\/#primaryimage\",\"url\":\"https:\\\/\\\/rayshell.de\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/AOZ-Code-editor.png\",\"contentUrl\":\"https:\\\/\\\/rayshell.de\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/AOZ-Code-editor.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/rayshell.de\\\/en\\\/lesson-1\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/rayshell.de\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Lesson 1\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/rayshell.de\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/rayshell.de\\\/en\\\/\",\"name\":\"RayShell Computer Department\",\"description\":\"Programming made easy with AOZ Studio\u2122. Anyone over the age of 12 can start here for free.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/rayshell.de\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Lesson 1 - RayShell Computer Department","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/rayshell.de\/en\/lesson-1\/","og_locale":"en_US","og_type":"article","og_title":"Lesson 1 - RayShell Computer Department","og_description":"Lesson 1 These 6 \u00a9AOZ Studio\u2122 Basic Lessons were kindly provided to me by the AOZ team for deployment on RayShell Computer Department. Have fun with RayShell and AOZ Studio\u2122 and share your experience with your friends. Note from RayShell: Program notes and explanations are entered after a double slash \/\/, Rem or &#8216; and [&hellip;]","og_url":"https:\/\/rayshell.de\/en\/lesson-1\/","og_site_name":"RayShell Computer Department","article_modified_time":"2023-10-25T00:56:56+00:00","og_image":[{"url":"https:\/\/rayshell.de\/wp-content\/uploads\/2022\/11\/AOZ-Code-editor.png","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/rayshell.de\/en\/lesson-1\/","url":"https:\/\/rayshell.de\/en\/lesson-1\/","name":"Lesson 1 - RayShell Computer Department","isPartOf":{"@id":"https:\/\/rayshell.de\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/rayshell.de\/en\/lesson-1\/#primaryimage"},"image":{"@id":"https:\/\/rayshell.de\/en\/lesson-1\/#primaryimage"},"thumbnailUrl":"https:\/\/rayshell.de\/wp-content\/uploads\/2022\/11\/AOZ-Code-editor.png","datePublished":"2022-10-24T23:04:09+00:00","dateModified":"2023-10-25T00:56:56+00:00","breadcrumb":{"@id":"https:\/\/rayshell.de\/en\/lesson-1\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/rayshell.de\/en\/lesson-1\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/rayshell.de\/en\/lesson-1\/#primaryimage","url":"https:\/\/rayshell.de\/wp-content\/uploads\/2022\/11\/AOZ-Code-editor.png","contentUrl":"https:\/\/rayshell.de\/wp-content\/uploads\/2022\/11\/AOZ-Code-editor.png"},{"@type":"BreadcrumbList","@id":"https:\/\/rayshell.de\/en\/lesson-1\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/rayshell.de\/en\/"},{"@type":"ListItem","position":2,"name":"Lesson 1"}]},{"@type":"WebSite","@id":"https:\/\/rayshell.de\/en\/#website","url":"https:\/\/rayshell.de\/en\/","name":"RayShell Computer Department","description":"Programming made easy with AOZ Studio\u2122. Anyone over the age of 12 can start here for free.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/rayshell.de\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/rayshell.de\/en\/wp-json\/wp\/v2\/pages\/19735","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rayshell.de\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/rayshell.de\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/rayshell.de\/en\/wp-json\/wp\/v2\/users\/153"}],"replies":[{"embeddable":true,"href":"https:\/\/rayshell.de\/en\/wp-json\/wp\/v2\/comments?post=19735"}],"version-history":[{"count":21,"href":"https:\/\/rayshell.de\/en\/wp-json\/wp\/v2\/pages\/19735\/revisions"}],"predecessor-version":[{"id":31998,"href":"https:\/\/rayshell.de\/en\/wp-json\/wp\/v2\/pages\/19735\/revisions\/31998"}],"wp:attachment":[{"href":"https:\/\/rayshell.de\/en\/wp-json\/wp\/v2\/media?parent=19735"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}