2011/9/9 Fabien Bodard <gambas...@gmail.com>

> yes like :
>
> Private Function ModifyThat(byRef i as integer) as boolean
>
>  i+=6*4
>
> catch
>  return true
>
> end
>
>
>
> to use it
>
> if not Modifythat(ByRef iMyVal) Then Print iMyVal
>
>
> sometime it can be usefull to catch the error in the calling function
>

I tests that code, but not works. In fact, I think that never could do the
work because inside the routine the real parameter is like a local variable,
so the test should be done after of the routine call.

But doing this, the point is missing.
------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to