Microsoft KB Archive/104470: Difference between revisions

From BetaArchive Wiki
m (Text replacement - "<" to "<")
m (Text replacement - ">" to ">")
 
Line 1: Line 1:
{|
{|
|width="100%"|
|width="100%"|
= PRB: "Missing Operand" with =&gt; and =< =
= PRB: "Missing Operand" with => and =< =


'''ID: Q104470'''
'''ID: Q104470'''
Line 16: Line 16:
== CAUSE ==
== CAUSE ==


Using the operators =, <, and &gt; in the wrong order will cause the error message "Missing operand."
Using the operators =, <, and > in the wrong order will cause the error message "Missing operand."


== RESOLUTION ==
== RESOLUTION ==


The correct way to use these operators is with the < or &gt; first, and then the = sign. For example:
The correct way to use these operators is with the < or > first, and then the = sign. For example:


<pre>  x =&gt; y    causes "Missing operand" error (x and y are any numbers)
<pre>  x => y    causes "Missing operand" error (x and y are any numbers)
   x =< y    causes "Missing operand" error
   x =< y    causes "Missing operand" error
   x &gt;= y    Correct
   x >= y    Correct
   x <= y    Correct
   x <= y    Correct
</pre>
</pre>

Latest revision as of 17:42, 20 July 2020

PRB: "Missing Operand" with => and =<

ID: Q104470

The information in this article applies to:

  • Microsoft FoxPro for Windows, versions 2.5 and 2.5a
  • Microsoft FoxPro for MS-DOS, versions 2.0, 2.5, and 2.5a

SYMPTOMS

You receive the error message, "Missing operand."

CAUSE

Using the operators =, <, and > in the wrong order will cause the error message "Missing operand."

RESOLUTION

The correct way to use these operators is with the < or > first, and then the = sign. For example:

   x => y     causes "Missing operand" error (x and y are any numbers)
   x =< y     causes "Missing operand" error
   x >= y     Correct
   x <= y     Correct

Additional reference words: FoxDos FoxWin 2.00 2.50 2.50a errmsg err msg KBCategory: kbprg kberrmsg kbprb KBSubcategory: FxprgGeneral


Last Reviewed: June 27, 1995
© 1999 Microsoft Corporation. All rights reserved. Terms of Use.