Exemplo n.º 1
0
		bool SetOpParam( SymbolDef symboldef )
		{
			bool success = true;

			if ( argCnt < MAXOPPARRAMS )
			{
				if ( opParams[ argCnt ].Filled )
				{
					argCnt++;
				}
			}

			if ( argCnt < MAXOPPARRAMS )
			{
				opParams[ argCnt ].Filled = true;
				opParams[ argCnt ].Arg = symboldef.pass2Data;
			}
			else
			{
				success = false;
			}

			return success;
		}
Exemplo n.º 2
0
		private bool SetOpParam( SymbolDef symboldef )
		{
			bool success = true;

			if ( this.argCnt < MAXOPPARRAMS )
			{
				if ( this.opParams[ this.argCnt ].Filled )
				{
					this.argCnt++;
				}
			}

			if ( this.argCnt < MAXOPPARRAMS )
			{
				this.opParams[ this.argCnt ].Filled = true;
				this.opParams[ this.argCnt ].Arg = symboldef.pass2Data;
			}
			else
			{
				success = false;
			}

			return success;
		}