A TempleOS distro for heretics
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
424 B

U0 PromptDemo()
F64 d;
I64 i;
U8 *name;
CDate cdt;
"\n\nNow prompting from the cmd line.\n\n"
"$$GREEN$$<ENTER>$$FG$$ keeps default.\n\n";
i=GetI64("Enter int expression(%d):",123);
d=GetF64("Enter float expression(%12g):",1.2e3);
name=GetStr("Name (%s):","John");
cdt=GetDate("Date (%D):",Now);