Posting messages inside function

  • Thread starter Thread starter Peter
  • Start date Start date
P

Peter

I have a function like this:

Public Function HearThis(byval strWords as string, byValue
strTimesSaid) as string

end function

Is there anyway to input a message into the function that would be
seen in the programming enviornment? ...other than naming the
variables

IE. HearThis('do not enter in mean word myString, myCount)


-Peter
 
Peter said:
I have a function like this:

Public Function HearThis(byval strWords as string, byValue
strTimesSaid) as string

end function

Is there anyway to input a message into the function that would be
seen in the programming enviornment? ...other than naming the
variables

IE. HearThis('do not enter in mean word myString, myCount)


I don't understand the question. Could you please rephrase it? Do you want
to pass a message to the function and the function should write it in the
debug window of the IDE?


--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html
 
I would like just a way of prompting the user with another message so
when they start using the function and it autocompletes the byval
information I may also insert a note.
 
Peter said:
I would like just a way of prompting the user with another message

msgbox("message")

or use messagebox.show
so when they start using the function and it autocompletes the
byval information I may also insert a note.

The user doesn't know "ByVal" and autocomplete and so on. Where do you want
to insert a note? Sorry, I still don't understand the question.


--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html
 
msgbox("message")

or use messagebox.show


The user doesn't know "ByVal" and autocomplete and so on. Where do you want
to insert a note? Sorry, I still don't understand the question.

I think he's referring to the tool tips that developer's see when using the
code.

Search the groups for VB Commenter, you should find what you are looking
for.
 
Back
Top