Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,14 @@
|
|||
proc is_numeric a$ . r .
|
||||
h = number a$
|
||||
r = 1 - error
|
||||
# because every variable must be used
|
||||
h = h
|
||||
.
|
||||
for s$ in [ "abc" "21a" "1234" "-13" "7.65" ]
|
||||
call is_numeric s$ r
|
||||
if r = 1
|
||||
print s$ & " is numeric"
|
||||
else
|
||||
print s$ & " is not numeric"
|
||||
.
|
||||
.
|
||||
Loading…
Add table
Add a link
Reference in a new issue