Data update
This commit is contained in:
parent
5af6d93694
commit
796d366b97
455 changed files with 7413 additions and 1900 deletions
|
|
@ -1,14 +1,13 @@
|
|||
proc is_numeric a$ . r .
|
||||
h = number a$
|
||||
r = 1 - error
|
||||
# because every variable must be used
|
||||
h = h
|
||||
func is_numeric a$ .
|
||||
h = number a$
|
||||
# because every variable must be used
|
||||
h = h
|
||||
return 1 - error
|
||||
.
|
||||
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"
|
||||
.
|
||||
if is_numeric s$ = 1
|
||||
print s$ & " is numeric"
|
||||
else
|
||||
print s$ & " is not numeric"
|
||||
.
|
||||
.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue