String Basics

Yossarian phoenix at flareware.cz
Sat Jun 24 06:00:04 PDT 2006


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 use char[] as string:)



More information about the Digitalmars-d-learn mailing list