Horse Racing Forum - PaceAdvantage.Com - Horse Racing Message Board

Go Back   Horse Racing Forum - PaceAdvantage.Com - Horse Racing Message Board


View Single Post
Old 07-30-2015, 08:44 PM   #15
TonyMLake
Registered User
 
TonyMLake's Avatar
 
Join Date: Jul 2014
Location: Tucson, AZ
Posts: 187
Actor, we're just going to have to know the contents of "str" before the function returns.

See my snippet above.

EDIT: Oh.. and if it's choking BEFORE it returns, put the ShowMessage call before the parsing statement in get_int.

Like

Code:
 until ch = COMMA ;
        ShowMessage(str);
	val(str, i, err) ;
	if err = 0 then
		get_int := i
	else
		get_int := 0
__________________
http://www.HandicapperPlus.com

Last edited by TonyMLake; 07-30-2015 at 08:53 PM.
TonyMLake is offline   Reply With Quote Reply
 
» Advertisement
» Current Polls
Wh deserves to be the favorite? (last 4 figures)
Powered by vBadvanced CMPS v3.2.3

All times are GMT -4. The time now is 06:33 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 1999 - 2023 -- PaceAdvantage.Com -- All Rights Reserved
We are a participant in the Amazon Services LLC Associates Program, an affiliate advertising program
designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.