Welcome Guest Search | Active Topics | Members | Log In | Register

p command function broken Options · View
misaxi
Posted: Monday, September 01, 2008 11:12:34 PM
Rank: Newbie
Groups: Member

Joined: 9/1/2008
Posts: 1
Points: 3
Location: Shanghai
When executing the following command by AutoCode. The function broken.

Command:
Dictionary<string, string> stringMap p
notice: there's a space in the <string, string>

Result:
private Dictionary<string, _string>;
public Dictionary<string, String>
{
get { return _string>; }
set { _string> = value; }
}


However, as a workaround if there is no space in the <string, string>. It works fine.

Command:
Dictionary<string,string> stringMap p


-misaxi
Alvaro
Posted: Thursday, September 04, 2008 1:46:59 PM
Rank: Administration
Groups: Administration

Joined: 3/16/2008
Posts: 22
Points: 72
Location: Spain
You are right. The command separator is set to one blank space by default.
In this case the command 'p' expects 2 params separated by one space: <type> <name> p.
If the <type> param has spaces it will trick the command.
In these cases avoiding the space is the best solution.

Thanks.
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by Yet Another Forum.net version 1.9.1.8 (NET v2.0) - 3/29/2008