Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

A more efficient way to sort through instances (Cleverpath AION V10.1)

Status
Not open for further replies.

Athena32

Programmer
Nov 20, 2003
8
US
I am working on a project that would allow our application to more efficiently search through instances(rows on a table). This is current process:
Code:
Var ptr is pointer to MessageRefQry
Var ptrs is list of pointer to MessageRefQry

ptrs = LIST(currentclass,LIST_ALL)
FOR ptrs,ptr
  IF  iMsgNum = ptr.MESSAGE_NUMBER 
  THEN
    pLastPtr = ptr
	LastMsgNum = iMsgNum
	return(ptr)
  END
END
return(NULL)

I was thinking of an array but I think it would just be the same.

Thank in advance,
Gina
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top