RE: strong typing and error handling

new topic     » goto parent     » topic index » view thread      » older message » newer message

Oh, I should point out that this technique doesn't work prior to v2.4 
when using the translator because the older versions don't call 
user-defined types, but 2.4 does call them if it has a side-effect such 
as this...

> 
> Now when I write my functions, I do this:
> 
> function some_function(object parameter, or_flags dummy)
> 
>    -- "dummy" is a dummy variable, we use the global "flags"
>    --  instead inside the function which has the proper
>    --  modified (possibly) value.
> 
>    ... function stuff ...
> 
> end function
>

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu