Re: Can types be global
- Posted by don cole <doncole at pacbell.net> Nov 29, 2006
- 546 views
Juergen Luethje wrote: > > Of course can types be global. > A user-defined type is just a single-parameter function that returns > TRUE or FALSE. > Look e.g. here <<a > href="http://www.rapideuphoria.com/type.zip">http://www.rapideuphoria.com/type.zip</a>> > for a file that > contains a collection of useful global types. Works fine. I downloaded your type.e
global type upper_char (object x) --I was told that if statements took more ---time. if integer(x) then if x <= 'Z' then return x >= 'A' else return find(x, "ÄÖÜ") != 0 end if end if return 0 end type
Are you really sure that you did include the right file? Yes, have other procedures and functions in there that work.
Regards,
Juergen
Don Cole }}}