[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

2175.0. "UDP .process with empty symbol problem" by UTROP1::CARLIER_J (John - Utrecht The Netherlands) Fri Jan 29 1993 11:19

    I have a small problem with the following UDP. 
    
    .fx get #x = "<version"
    .process #x
    .fx get #y = "Ayyyyyyyyy"
    .process #y
    .fx get #z = ""
    .process #z
    
    When called from within the WPS-plus editor I get
    
    <versionAyyyyyyyyyA
    
    in the buffer. I have tried this on 2.4 and 3.0.
    
    #z is empty, but I get back the first character of the last symbol used
    in a .process.
    
    Is this a known problem ?
    
    Regards
    
    John.
T.RTitleUserPersonal
Name
DateLines
2175.1oa$script_psib and .fxAIMTEC::BUTLER_TFri Jan 29 1993 20:1912
    John,
    
    I do not have the chance to test this myself, so I will ask.
    
    What is in oa$script_psib before and after the .process?
    
    The reason I ask has to do with the .fx and what mode it is
    in at the time.
    
    Thanks,
    
    Tim
2175.2oa$script_psib resultsUTROP1::CARLIER_JJohn - Utrecht The NetherlandsTue Feb 02 1993 14:4483
New version of udp:-

.fx get #x = "<version"
.process #x
.fx get #y = "Ayyyyyyyyy"
.process #y
.fx get oa$display = oa$script_psib
.fx get #z = ""
.fx get oa$display = oa$script_psib
.process #z
.fx get oa$display = oa$script_psib

Results:-

<versionAyyyyyyyyyA

Trace log -

!   
![SCRIPT] Opening script $1$DUA36:[CARLIER_J.A1.UDP]T.UDP (SCRIPT)
![IVP]    Script $1$DUA36:[CARLIER_J.A1.UDP]T.UDP opened
![SCRIPT] Function nesting level: 0. Script context follows:
![SCRIPT] Line           SCRIPT Script
![SCRIPT]   0    $1$DUA36:[CARLIER_J.A1.UDP]T.UDP;
!   
![SCRIPT] Line             DO Script
!   
![SCRIPT] UDP $1$DUA36:[CARLIER_J.A1.UDP]T.UDP dispatched
![IO]     Getting next record from TXT$TXL_SCRIPT, Text starts ".fx get #x = "<"
![SCRIPT] $1$DUA36:[CARLIER_J.A1.UDP]T.UDP Line 1: .fx get #x = "<version"
![FUNC]   Function: GET, Cmd line: #x = "<version"
![A1LOG]  Entry: %OA-I-LOGFUN, Functie: GET             #x = "<version"
![SYMBOL] Symbol: #x = "<version", Value: <version
![IO]     Getting next record from TXT$TXL_SCRIPT, Text starts ".process #x"
![SCRIPT] $1$DUA36:[CARLIER_J.A1.UDP]T.UDP Line 2: .process #x
![SYMBOL] Symbol: #x, Value: <version
![IO]     Getting next record from TXT$TXL_SCRIPT, Text starts ".fx get #y = "A"
![SCRIPT] $1$DUA36:[CARLIER_J.A1.UDP]T.UDP Line 3: .fx get #y = "Ayyyyyyyyy"
![FUNC]   Function: GET, Cmd line: #y = "Ayyyyyyyyy"
![A1LOG]  Entry: %OA-I-LOGFUN, Functie: GET             #y = "Ayyyyyyyyy"
![SYMBOL] Symbol: #y = "Ayyyyyyyyy", Value: Ayyyyyyyyy
![IO]     Getting next record from TXT$TXL_SCRIPT, Text starts ".process #y"
![SCRIPT] $1$DUA36:[CARLIER_J.A1.UDP]T.UDP Line 4: .process #y
![SYMBOL] Symbol: #y, Value: Ayyyyyyyyy
![IO]     Getting next record from TXT$TXL_SCRIPT, Text starts ".fx get oa$disp"
![SCRIPT] $1$DUA36:[CARLIER_J.A1.UDP]T.UDP Line 5: .fx get oa$display = oa$scrip
!               t_psib
![FUNC]   Function: GET, Cmd line: oa$display = oa$script_psib
![A1LOG]  Entry: %OA-I-LOGFUN, Functie: GET             oa$display = oa$script_p
!               sib
![SYMBOL] Symbol: oa$display = oa$script_psib, Value: 
![IO]     Getting next record from TXT$TXL_SCRIPT, Text starts ".fx get #z = """
![SCRIPT] $1$DUA36:[CARLIER_J.A1.UDP]T.UDP Line 6: .fx get #z = ""
![FUNC]   Function: GET, Cmd line: #z = ""
![A1LOG]  Entry: %OA-I-LOGFUN, Functie: GET             #z = ""
![SYMBOL] Symbol: #z = "", Value: 
![IO]     Getting next record from TXT$TXL_SCRIPT, Text starts ".fx get oa$disp"
![SCRIPT] $1$DUA36:[CARLIER_J.A1.UDP]T.UDP Line 7: .fx get oa$display = oa$scrip
!               t_psib
![FUNC]   Function: GET, Cmd line: oa$display = oa$script_psib
![A1LOG]  Entry: %OA-I-LOGFUN, Functie: GET             oa$display = oa$script_p
!               sib
![SYMBOL] Symbol: oa$display = oa$script_psib, Value: 
![IO]     Getting next record from TXT$TXL_SCRIPT, Text starts ".process #z"
![SCRIPT] $1$DUA36:[CARLIER_J.A1.UDP]T.UDP Line 8: .process #z
![SYMBOL] Symbol: #z, Value: 
![IO]     Getting next record from TXT$TXL_SCRIPT, Text starts ".fx get oa$disp"
![SCRIPT] $1$DUA36:[CARLIER_J.A1.UDP]T.UDP Line 9: .fx get oa$display = oa$scrip
!               t_psib
![FUNC]   Function: GET, Cmd line: oa$display = oa$script_psib
![A1LOG]  Entry: %OA-I-LOGFUN, Functie: GET             oa$display = oa$script_p
!               sib
![SYMBOL] Symbol: oa$display = oa$script_psib, Value: 
![IO]     Getting next record from TXT$TXL_SCRIPT, Text starts ""
![SCRIPT] $1$DUA36:[CARLIER_J.A1.UDP]T.UDP Line 10: 
![IO]     Getting next record from TXT$TXL_SCRIPT, Text starts ""
![SCRIPT] $1$DUA36:[CARLIER_J.A1.UDP]T.UDP Line 11: .EXIT
!   
![SCRIPT] Closing Script $1$DUA36:[CARLIER_J.A1.UDP]T.UDP
![SCRIPT] Function nesting level: 0. Script context follows:
![SCRIPT] Line           SCRIPT Script
!   

2175.3Is note 50 related to this ?IJSAPL::CARLIERFri Feb 05 1993 08:096
    Just did a search for OA$SCRIPT_PSIB and found Note 50. Is this not an
    explanation of the symptons in that note ? There does not appear be a
    final answer to that note either...
    
    John