General information
Category:
Coding, syntax & commands
Hi Jim,
> Out of curiousity, Dave, is the 'bad' function deep within a .PRG or does it call another function that is deep within a .PRG?
There are 34 lines of code prior to the following, the first code just opens the tables etc.
The GetMSubS() UDF has some code and also makes one call to SUBSTR()
*———————————————————————————————————————————————————————————————
FOR lnRowNo = 1 TO lnClaimedRaces
SELECT Race
lnHorsesClaimed = MEMLINES(Race.mClaimed)
*———————————————————————————————————————————————————————————————
FOR i = 1 TO lnHorsesClaimed
lcLine = MLINE(Race.mClaimed,i)
IF NOT EMPTY(lcLine)
lcHorse = GetMSubS(lcLine,1,'< TO >')
lcTrainer = GetMSubS(lcLine,'< TO >','< FOR >','End of Start')
lcPrice = GetMSubS(lcLine,'< FOR >','','End of Start')
ENDIF
etc...
*———————————————————————————————————————————————————————————————
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only