This commit is contained in:
2023-11-08 14:27:21 +00:00
commit f39b67e87d
32 changed files with 238 additions and 0 deletions

15
variables.hla Normal file
View File

@@ -0,0 +1,15 @@
program Vars;
#include( "stdlib.hhf" )
static
MyNum: int8 := 42;
NumNotInitialized: int8;
begin Vars;
stdout.put( "MyNum = ", MyNum, nl);
stdout.put( "Enter an integer value: " );
stdin.get(NumNotInitialized);
stdout.put( "You entered '", NumNotInitialized, "'", nl );
end Vars;