Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- MICROSYS C & Clipper Functions - <b>b_isascii()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
b_isascii()


Syntax:     b_isascii(<expC>)

Purpose:    Test for ascii characters

Arguments:  <expC> is the character or string

Returns:    A Logical Value

Note:       Characters 0 thru 126 are valid ascii aharacters

Library:    MICROSYS.LIB

----------------------------------- Example ----------------------------------

   mcus_name := spac(30)
   @1,1 say "Customer Name : " get mcus_name
   read

   if( !b_isascii(mcus_name) )
      qout("Invalid characters in customer name!")
   endif

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson