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

Option Strict On requires all function and property declarations to have an 'As' clause.

P: n/a
How do i declare a function when i put option strict On

Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hi,

You need to specify the type of function. Here is a really simple
example.
Public Function MyStringFunction(byval s as string) as string
return S
end function

Ken
--------------------------

"Reny" wrote:
How do i declare a function when i put option strict On

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.