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_control()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
b_control()


Syntax:     b_control(<expC>)

Purpose:    Test for control characters

Arguments:  <expC> is the character or string

Returns:    A Logical Value

Note:       Characters 0 thru 31 and 127 - 255 are control characters

Library:    MICROSYS.LIB

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

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

   if( b_control(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