Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,15 @@
|
|||
PROGRAM NUMERIC
|
||||
|
||||
PROCEDURE IS_NUMERIC(S$->ANS%)
|
||||
LOCAL T1,T1$
|
||||
T1=VAL(S$)
|
||||
T1$=STR$(T1)
|
||||
ANS%=(T1$=S$) OR T1$=" "+S$
|
||||
END PROCEDURE
|
||||
|
||||
BEGIN
|
||||
PRINT(CHR$(12);)
|
||||
INPUT("Enter a string",S$)
|
||||
IS_NUMERIC(S$->ANS%)
|
||||
IF ANS% THEN PRINT("is num") ELSE PRINT("not num")
|
||||
END PROGRAM
|
||||
Loading…
Add table
Add a link
Reference in a new issue