Chr$
ResultString$ = Chr$(AscCode)
 
Parameters:

    AscCode = The ASCII you wish to convert to a string character
Returns:

    ResultString$ = The string character that represents this ASCII value
 

      Chr$() converts an ASCII code into a string character.



FACTS:


      * Chr$() only accepts valid ASCII code values between 0 an 255.




Mini Tutorial:


  
; Display the character string of the ASC II code 97.
  Print Chr$(97)
  
; Display the character string of the ASC II code 98.
  Print Chr$(98)
  
; Display the character string of the ASC II code 99.
  Print Chr$(99)
  
; Display the Screen and wait for the user to press a key
  Sync
  WaitKey
  



This example would output.

  
  a
  b
  c
  


 
Related Info: Asc | Left$ | Make$ | Mid$ :
 


(c) Copyright 2002 - 2024 - Kevin Picone - PlayBASIC.com