General information
Category:
Object Oriented Programming
Thanks man, i have a last question, why a property is underline?
>>i work in a framework for workflow, this framework is based in a UML specification, but in some cases i see duplicate lines like :
>>
>>+executeProcessWith:(a:Context):Context
>>+executeProcessWith:for:(a:Context,s:String):Context
>>
>>they are 2 methods in a class called WorkflowFacade
>>
>>how define this in Visual Fox? whats mean?
>>
>>
>>Best Regards
>>
>>Francisco Morosini
>Unlike VFP, in some (strong typed) languages, you need to create separate methods to receive different type of parameters.
>
>In this case, I guess it means that one method receives a single parameter of type "Context" while the other method receives 2 parameters (one of type "Context" and the other of type "String")
>
>In VFP you could probably create a single method and accept two parameters. Inside the method you will need to validate whether you received one or two parameters.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only