View previous topic :: View next topic
|
Author |
Message |
Amb
New User
Joined: 12 Mar 2010 Posts: 64 Location: India
|
|
|
|
Hi Guys,
I have done the following in my REXX code
PARSE VAR ASM_OPERANDS DT1 "'" VALUE_I1 "'"
If the variable DT1 has numeric data then I need to continue with my processing. Can any one tell me how to check this?
As we have the ISNUMERIC function in COBOL do we have something like that in REXX? |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
Amb
New User
Joined: 12 Mar 2010 Posts: 64 Location: India
|
|
|
|
Thanks a lot for the information. |
|
Back to top |
|
|
shibub
New User
Joined: 16 Oct 2009 Posts: 13 Location: Bangalore
|
|
|
|
Code: |
if datatype(user_input,"W") then
say "Whole number"
|
|
|
Back to top |
|
|
|