Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Blinker 5.10 Online Reference - <b> swpgetstr() / swpgetstrbas()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 SWPGETSTR() / SWPGETSTRBAS()
------------------------------------------------------------------------------
 Purpose:
 Retrieve string sent from child process via SWPSETSTR().

 Syntax:
 cString = SWPGETSTR()

 Parameters:
 None.

 Returns:
 A string.

 Description:
 SWPGETSTR() is used within the parent program to retrieve the string set
 by the child program.

 Example:
 // Parent program                                                           
 SWPSETPID("PARENT")                                                         
 SWPRUNCMD("child",0,"","")                                                  
 string = SWPGETSTR()                                                        
 ? "The string returned is :", string         // 'Hello'                     
 // eof parent                                                               
                                                                             
 // Child program                                                            
 if SWPGETPID("PARENT")                                                      
    SWPSETSTR("PARENT","Hello")                                              
 endif                                                                       
 quit                                                                        
 // eof child                                                                

See Also: SWPADDSTR() / SWPADDSTRBAS() SWPGETPID() / SWPGETPIDBAS() SWPSETPID() / SWPSETPIDBAS() SWPSETSTR() / SWPSETSTRBAS()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson