SchemeDT:String

From DocR23

Jump to: navigation, search


Action

A string is a scheme-object containing a text string. Strings often display messages to the output window. string objects are not saved and restored as part of the model.

Derivation

string:scheme-object

C++

char*

External Rep

"%s"

Example

;; string (data type) 
;; Define and inquire a string object. 
(define testing "This is a test.") 
;; testing 
(string? testing) 
;; #t 
(string-length testing) 
;; 15
Personal tools