Implemented if statements and file includes checking (that was a hard seg fault to find 🫠)

This commit is contained in:
cannoli-fruit 2026-07-26 04:48:04 -04:00
commit 52f97d2fe4
2 changed files with 39 additions and 0 deletions

14
flagpole/tests/ifs.fp Normal file
View file

@ -0,0 +1,14 @@
$inc fvmstd.fp
proc main
"Delete System32?" :puts :newline
"(y/n)" :puts :newline
:getchar @c
if &c 0x79 == then
"It appears to have failed, are you on linux?" :puts :newline
endif
if &c 0x6E == then
"Alright, have a nice day" :puts :newline
endif
endproc