validation
- Original Message -
From: Alex Harui<mailto:[EMAIL PROTECTED]>
To: flexcoders@yahoogroups.com<mailto:flexcoders@yahoogroups.com>
Sent: Tuesday, September 09, 2008 1:21 AM
Subject: RE: [flexcoders] function / method argument validation
Instead of defining a function, you
- Original Message -
From: Alex Harui
To: flexcoders@yahoogroups.com
Sent: Tuesday, September 09, 2008 1:21 AM
Subject: RE: [flexcoders] function / method argument validation
Instead of defining a function, you could define an interface
But it still wouldn't have a
Instead of defining a function, you could define an interface
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon
Smith
Sent: Monday, September 08, 2008 3:10 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] function / method argument validation
No, AS3
No, AS3 doesn't support this.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
rss181919
Sent: Monday, September 08, 2008 11:47 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] function / method argument validation
Let
Let's say I have the following call
s myvar = myfuntion (arg1:x)
Of course arg1 must be of type x or you get a compile time error. Is
there any way to force arg1 to be of a certain value range within type
x and have it checked at compile time?
For example, is there a way to create a group of
5 matches
Mail list logo