Help in Understanding QTP Program Statement

Joe Boyle joeboyle_adt at hotmail.com
Wed Jun 6 07:43:03 CDT 2007


I suspect that it is a short hand way of coding the below,
let L-Q2-GEN  = 'N' 
if ACK in record CU-RECORD ne '2' 
and ACK in record CU-RECORD ne 'B' 
and ACK in record CU-RECORD ne 'C' 
and ACK in record CU-RECORD ne 'D' 
and ACK in record CU-RECORD ne 'F' 
else 'Y' 
  ----- Original Message ----- 
  From: vamsi krishna 
  To: powerh-l at lists.sowder.com 
  Sent: Wednesday, June 06, 2007 10:03 AM
  Subject: Help in Understanding QTP Program Statement


  Hello Guys,

  I was just going through  a QTP Program, and I found the following line:

  ITEM L-Q2-GEN = "N" IF 0 = INDEX("2BCDF",ACK OF CU-RECORD) ELSE "Y"  

  I've absolutely no idea what this statement is doing.

  Please help me in understanding the same.

  Thanks in Advance.

  Vamsi
  -- 
  "Nothing is impossible as impossible itself says i m possible" 


------------------------------------------------------------------------------


  -- 
  = = = = = = = = = = = = = = = = = = = = = = = = = = = =
  Mailing list: powerh-l at lists.sowder.com
  Subscribe: "subscribe" in message body to powerh-l-request at lists.sowder.com
  Unsubscribe: "unsubscribe <password>" in message body to powerh-l-request at lists.sowder.com
  http://lists.sowder.com/mailman/listinfo/powerh-l
  This list is closed, thus to post to the list you must be a subscriber.
  Add 'site:lists.sowder.com powerh-l' to your search terms to search the list archive at Google.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.sowder.com/pipermail/powerh-l/attachments/20070606/d4a54c47/attachment.htm


More information about the powerh-l mailing list