Changeset 636 for FOIAVistA/tag/r/RPC_BROKER-XWB/XWBRW.m
- Timestamp:
- Dec 4, 2009, 8:26:01 PM (14 years ago)
- Location:
- FOIAVistA/tag/r
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
FOIAVistA/tag/r/RPC_BROKER-XWB/XWBRW.m
r628 r636 1 XWBRW ;ISF/RWF - Read/Write for Broker TCP ;08/03/2004 15:09 2 ;;1.1;RPC BROKER;**35**;Mar 28, 1997 1 XWBRW ;ISF/RWF - Read/Write for Broker TCP ;8/16/07 09:33 2 ;;1.1;RPC BROKER;**35,49**;Mar 28, 1997;Build 4;WorldVistA 30-Jan-08 3 ;Modified from FOIA VISTA, 4 ;Copyright 2008 WorldVistA. Licensed under the terms of the GNU 5 ;General Public License See attached copy of the License. 6 ; 7 ;This program is free software; you can redistribute it and/or modify 8 ;it under the terms of the GNU General Public License as published by 9 ;the Free Software Foundation; either version 2 of the License, or 10 ;(at your option) any later version. 11 ; 12 ;This program is distributed in the hope that it will be useful, 13 ;but WITHOUT ANY WARRANTY; without even the implied warranty of 14 ;MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 ;GNU General Public License for more details. 16 ; 17 ;You should have received a copy of the GNU General Public License along 18 ;with this program; if not, write to the Free Software Foundation, Inc., 19 ;51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 3 20 Q 4 21 ; … … 15 32 . S S=L-$L(R),R=R_$E(XWBRBUF,1,S),XWBRBUF=$E(XWBRBUF,S+1,999999) 16 33 . I ($L(R)=L)!(R[$C(4))!(C>TO) S DONE=1 Q 17 . R XWBRBUF :2 S:'$T C=C+1 S:$L(XWBRBUF) C=034 . R XWBRBUF#S:2 S:'$T C=C+1 S:$L(XWBRBUF) C=0 I +$DEVICE S DONE=1 18 35 . I $G(XWBDEBUG)>2,$L(XWBRBUF) D LOG^XWBDLOG("rd: "_$E(XWBRBUF,1,252)) 19 36 . Q
Note:
See TracChangeset
for help on using the changeset viewer.