i got it.
Line = ReadStringPr ("Enter address(* for a new line): ");
Index = 1;
Temp = "\n";
while (Index <=Length (Line))
if (Line[index] == '*')
{
Temp = "\n";
WriteString (Temp);
Index = Index + 1;
}
else
{
WriteChar (Line [index]);
Index = Index + 1;
}
getchar();
return 0;
not the cleanest code but thats what they wanted, so i had to lay it out like this.
anyway, i'm a n00b13t.