Re: New Docs, new layout
- Posted by Jeremy Cowgar <jeremy at cowga??com> May 02, 2008
- 654 views
Shawn Pringle wrote: > > Hey Jeremy, > > Two things: Firstly, I found two functions in the category 'C-Interface'; > free_console(), and msg_box(). These two functions have nothing to do with > the C-interface itself. I suppose they are there until you can think of a > better category? How about 'User Interface'? Yeah, I didn't like that either when I put them there, however, I did not categorize them as C-interface. In the current docs they are listed under C-interface, so I just stuck with it. http://rapideuphoria.com/library.htm#call_c_func >Secondly, there are so many > types that seem to be only implemented as functions. Why not implement them > as types to extend their functionality? These types include isxdigit(), > for example. I was thinking of that, but do we want types for all those C is??? functions? i.e. the types would be: alnum, alpha, ascii, cntrl, digit, graph, lower, print, punct, space, upper, xdigit ... some of thse in there we cannot use (lower, print, upper) and others would be confusing as a type (space, graph). I was unsure of exactly how to handle them. So, I found others using the names of the standard C functions found in ctypes.h, isascii, isdigit, etc... However, I think the section you found those in is called Type Checking, not really Types? -- Jeremy Cowgar http://jeremy.cowgar.com