hello. can u hear me.

This commit is contained in:
Scarlett
2025-05-06 18:47:18 -04:00
parent 44f0e0f5af
commit 63becc9c1a

View File

@ -1,11 +1,23 @@
#include "std.alpha" #include "std.alpha"
entry (arg) := { function entry: string2integer
[string: str; character: ch; integer: result]
ch := 'h'; entry (arg) := {
str := "Hello World!"; [integer: result]
result := printCharacter(ch);
result := printCharacter('H');
result := printCharacter('e');
result := printCharacter('l');
result := printCharacter('l');
result := printCharacter('o');
result := printCharacter(' ');
result := printCharacter('W');
result := printCharacter('o');
result := printCharacter('r');
result := printCharacter('l');
result := printCharacter('d');
result := printCharacter('!');
result := printCharacter('\n');
return 0; return 0;
} }