1. STDFLTR_ALPHA only?

We've got STDFLTR_ALPHA. It's defined as

public constant STDFLTR_ALPHA = routine_id("filter_alpha") 

where filter_alpha is defined as

function filter_alpha(object elem, object ud) 
	return t_alpha(elem) 
end function 

and t_alpha as

public type t_alpha(object test_data) 
	return char_test(test_data, Defined_Sets[CS_Alphabetic]) 
end type 

There are other cool t_* out there like t_digit and t_cntrl but they don't have STDFLTR_*. Deliberate? Accidental? An exercise for the programmer?

-Bruce

new topic     » topic index » view message » categorize

2. Re: STDFLTR_ALPHA only?

Hi

Easy enough to do if you had a call for them and if they became popular enough then they would be added to Eus stdlib.

In the meantime, you could make BrucesStdLibAddns.e, and add it to whatever you were writing, make that public, and await the merging.

Cheers

Chris

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu