| Author |  | 
      
        | jeffw_00 Super User
 
  
 
 Joined: June 30 2007
 Online Status: Offline
 Posts: 935
 | 
          I set GLOBAL to a string.
           | Posted: September 24 2011 at 22:37 | IP Logged |   |  
           | 
 |  then I compare to a local by
 
 JUMP: if({GLOBAL} = ph_getvar_s(1,1),2,1)
 
 but it doesn't like it - evals to !
 
 is there a special way to compare strings?
 
 thx
 /j
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | JaredM Newbie
 
  
 
 Joined: November 04 2007
 Online Status: Offline
 Posts: 36
 | 
          You just need quotes around {GLOBAL}.
           | Posted: September 24 2011 at 23:51 | IP Logged |   |  
           | 
 |  
 
 
| Code: 
 
    
    | 
      
       | if("{GLOBAL}" = ph_getvar_s(1,1),2,1) |  |  |  | 
       
        | Back to Top |     | 
       
       
        |  | 
        | jeffw_00 Super User
 
  
 
 Joined: June 30 2007
 Online Status: Offline
 Posts: 935
 | 
          yup
           | Posted: September 25 2011 at 00:18 | IP Logged |   |  
           | 
 |  thanks!
 | 
       
        | Back to Top |     | 
       
       
        |  |