View previous topic :: View next topic
|
Author |
Message |
Pragati Soni
New User
Joined: 18 Jan 2008 Posts: 47 Location: India
|
|
|
|
I need to call the subroutines from a main subruotine.
Its like
Route:
call Showpanl
call validval
exit
Showpanl:
--
--
return
validval:
if xyz then
nop
else
signal route
return |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
And the question is...?
O. |
|
Back to top |
|
|
Pragati Soni
New User
Joined: 18 Jan 2008 Posts: 47 Location: India
|
|
|
|
ofer71 wrote: |
And the question is...?
O. |
Qusetion is : how to call a subroutine from a subroutine? |
|
Back to top |
|
|
acevedo
Active User
Joined: 11 May 2005 Posts: 344 Location: Spain
|
|
|
|
returnvaluehere = yoursubroutinehere('yourparmshere')
address tso "yoursubroutinehere" 'yourparmshere'
if rc=0 then..
parse value yoursubroutinehere(yourparmshere) with returnvaluehere |
|
Back to top |
|
|
|