Previous Topic: OPSSETV Function

Next Topic: OPSSMF Function

Keywords for OPSSETV

For explanations of the keywords you can use with OPSSETV, see OPSSETV Command Processor in the chapter “POI Command Processors.”

Example: OPSSETV

Consider the following code sample:

ba = 'ABCWXYZ THE CATS IN THE CUPBOARD BUT HE DONT SEE ME.'
aa =opssetv('globaly.1 ('ba')')                            
If OPSRC ^= 0 Then Do                                      
  say "opsrc="||opsrc                                      
  exit                                                     
End                                                        
say globaly.1                                              
                                                           
aa =opssetv('globaly.1 ( pantry ) offset(25) uppercase(no)')
If OPSRC ^= 0 Then Do                                      
  say "opsrc="||opsrc                                      
/*exit*/                                                   
End                                                        
say globaly.1

When executed, the above code sample produces the following output:

ABCWXYZ THE CATS IN THE CUPBOARD BUT HE DONT SEE ME.
ABCWXYZ THE CATS IN THE pantry BUT HE DONT SEE ME.

For additional examples that illustrate how you can use OPSSETV, see OPSSETV Command Processor in the chapter “POI Command Processors.”