Computer Science Canada

Dir.Create, need helping intergrating a variable

Author:  wOOhooo [ Mon Apr 07, 2008 3:01 pm ]
Post subject:  Dir.Create, need helping intergrating a variable

well basicly the title says it. this is part of the code i have,

Turing:

var dir : string
dir:= ("/DAT/",namec)
Dir.Creat (dir)


Basicly i get namec as the persons name, then create a new directory in DAT were i will store other info. But the problem is im having trouble intergrating the variable into the "dir" variable. Any help?

Author:  Mackie [ Mon Apr 07, 2008 3:38 pm ]
Post subject:  RE:Dir.Create, need helping intergrating a variable

Alright, rather than using a comma. Use '+':


String1 + String2

You also forgot an 'e' on the end of Dir.Create. If I understand what your asking.

Author:  wOOhooo [ Mon Apr 07, 2008 3:45 pm ]
Post subject:  Re: RE:Dir.Create, need helping intergrating a variable

Mackie @ Mon Apr 07, 2008 3:38 pm wrote:
Alright, rather than using a comma. Use '+':


String1 + String2

You also forgot an 'e' on the end of Dir.Create. If I understand what your asking.


Typo FTL Wink
But any way it does work, thanks Surprised


: