TempleOSTS_140317.ISO

This commit is contained in:
Terry A. Davis authored and minexew committed 2018-09-08 21:46:02 +02:00
1 parent 2d2a65d572
commit 7ef616a20e
1416 files changed
+223873 -53917

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
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=PmtI64("Enter int expression(%d):",123);
"Int=%d\n",i;
d=PmtF64("Enter float expression(%12g):",1.2e3);
"Float=%e\n",d;
name=PmtStr("Name (%s):","John");
"Name:%s\n",name;
Free(name);
cdt=PmtDate("Date (%D):",Now);
"Date=%D\n",cdt;
}
PromptDemo;