String Basics

David Medlock noone at nowhere.com
Sat Jun 24 07:33:24 PDT 2006


Yossarian wrote:

> Heinz napsal(a):
> 
>> Hi, it's a kind of silly question: How can i use a string as a type? 
>> for example
>> i want to pass a parameter as a string but the compiler says string is 
>> not
>> defined, which module dhould i import to work with strings?
>>
>> thx.
>>
>>
> try to write somewhere in declaration part:
> alias char[] string;
or get Walter to put this in phobos!

:D

-DavidM



More information about the Digitalmars-d-learn mailing list