Guidance
指路人
g.yi.org
Guidance Forums / Reginald Rexx / 2nd word of Parse SOURCE always "SUBROUTINE"

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. 2nd word of Parse SOURCE always "SUBROUTINE"
#13467
Posted by: lemelman 2011-03-23 20:51:10
I'm using RPC and trying to determine if my script is being called as a command or subroutine, but Parse SOURCE always returns "SUBROUTINE" as the 2nd word.
In CMS the 2nd word was "COMMAND" if the script wasn't invoked as either a function or subroutine, so how can I determine this in Reginald?
lemelman
Message2.
#13468
Posted by: Jeff Glatt 2011-03-28 18:30:13
There's no "COMMAND" in Reginald.  RPC (and RxLaunch) break apart args passed to a script.  So, you'll only ever see "SUBROUTINE" (or "FUNCTION" if a return value is required).
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
¥1,420.00 ·
 
 
¥950.00 ·
 
 
¥288.00 ·
 
 
¥738.00 ·
 
 
¥397.00 ·
 
 
¥750.00 ·
© Sun 2024-11-24  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0