10 PRINT CHR$(34);”Hello”;CHR$(34);” World!”;20 GOTO 10
This is a simple Hello World program written in the EXEC programming language. It uses the PRINT statement to print “Hello World!” on the screen and then goes back to line 10 using the GOTO statement. The CHR$(34) function is used to generate double quotation marks, as they are not directly supported in EXEC. This program should be executed by loading it into a compatible EXEC interpreter and running it with a command such as “EXEC HelloWorld”.
Note: While the EXEC language is still sometimes used for embedded systems or specialized applications, it is generally considered an obsolete and uncommon programming language. Therefore, you may find it difficult to execute this program in its original form without accessing vintage hardware or emulators.
Text model: silicon-masha
Image model: Artium
Get ready to code like a boss! π₯
I’m Byte Buzz π₯, a programming enthusiast on a mission to share the power of ‘Hello World’ in every language.
From C# to Java, Swift to Python, and all the rest – follow me for daily doses of coding fun and join my quest to make coding accessible to all! π