By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,635 Members | 913 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,635 IT Pros & Developers. It's quick & easy.

VB prob - calling functions

P: n/a
Just a quickie, the problem is I'm used to JAVA so not sure how to put this
right.

I'm calling a function from another function, but I get an invalid procedure
call error.

The code in the calling method is like this....

If (Not (isDigit(y))) Then .........

isdigit is simple enough ...

Function isDigit(toCheck As String) As Boolean
isDigit = (toCheck >= "0" And toCheck <= "9")
End Function

please help!
Chris
Nov 12 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"C L Humphreys" <cl*********@toofgib.moc> wrote in message
news:bn**********@ucsnew1.ncl.ac.uk...
Just a quickie, the problem is I'm used to JAVA so not sure how to put this right.


Bah, ignore that it was a problem elsewhere!
Nov 12 '05 #2

P: n/a
The problem is not in any of the code you have listed here.

Is y defined as string?
Regards
Peter Russell
C L Humphreys previously wrote:
Just a quickie, the problem is I'm used to JAVA so not sure how to put
this
right.

I'm calling a function from another function, but I get an invalid
procedure
call error.

The code in the calling method is like this....

If (Not (isDigit(y))) Then .........

isdigit is simple enough ...

Function isDigit(toCheck As String) As Boolean
isDigit = (toCheck >= "0" And toCheck <= "9")
End Function

please help!
Chris


Nov 12 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.