Ok really add the new command stuff.

This commit is contained in:
hondacrx
2022-01-20 10:02:10 -05:00
parent 883a3bb990
commit e9eed31d90
51 changed files with 2550 additions and 1383 deletions
+22
View File
@@ -29,6 +29,13 @@ namespace Framework.IO
activeposition = -1;
}
public StringArguments(StringArguments args)
{
activestring = args.activestring;
activeposition = args.activeposition;
Current = args.Current;
}
public bool Empty()
{
return activestring.IsEmpty();
@@ -227,6 +234,21 @@ namespace Framework.IO
Current = null;
}
public bool IsAtEnd()
{
return activeposition == activestring.Length;
}
public int GetCurrentPosition()
{
return activeposition;
}
public void SetCurrentPosition(int currentPosition)
{
activeposition = currentPosition;
}
bool MoveNext(string delimiters)
{
//the stringtotokenize was never set: