Re: General Beginner Issues
- Posted by jaygade Jul 15, 2013
- 3146 views
Kirkkaf13 said...
[3]Can someone explain how I can declare a string variable, is this using sequence?
Thank you for your time and I apologise if my questions are very basic.
Kirk
Yes, a string is just a sequence of letters. There are many ways to define strings, but the most basic way is with double quotes:
include std/io.e sequence my_string = "Hello, world!" writefln("[]", my_string)