| 
 
| 
|  Author | Topic: missing right paren  (Read 600 times) |  |  
| 
| 
| Alincon Full Member
 
 
 member is offline
 
  
 
 
 
 
  
 
 Posts: 147
 
 | 
|  | missing right paren « Thread started on: Feb 3rd, 2015, 12:49am »
 |  |  What is wrong with this statement?  It seems to have a right paren, but LBB says not.  Works in LB4
 
 Code:
 
 r.m.
 |  
| 
|  |  Logged |  
 |  |  |  
| 
| 
| Richard Russell Administrator
 
 
 member is offline
 
  
 
 
 
 
    
 
 Posts: 1348
 
 | 
|  | Re: missing right paren « Reply #1 on: Feb 3rd, 2015, 08:52am »
 |  |  on Feb 3rd, 2015, 12:49am, Alincon  wrote:
 | | What is wrong with this statement?  It seems to have a right paren, but LBB says not.  Works in LB4 Code: | 
 | 
 It doesn't work in LB4, it reports Compile halted: Missing expression.
 
 The syntax of the SORT statement is:
 
 Code:
 SORT arrayName(), start, end, [column] Richard.
 |  
| 
|  |  Logged |  
 |  |  |  
| 
| 
| Alincon Full Member
 
 
 member is offline
 
  
 
 
 
 
  
 
 Posts: 147
 
 | 
|  | Re: missing right paren « Reply #2 on: Feb 3rd, 2015, 2:41pm »
 |  |  Well, it does work in LB4 without a right paren.
 
 I should have noted that LBB first told me to add the right paren.
 I added it, tried again, and the error message is "missing )"
 
 r.m.
 
 
 |  
| 
|  |  Logged |  
 |  |  |  
| 
| 
| Alincon Full Member
 
 
 member is offline
 
  
 
 
 
 
  
 
 Posts: 147
 
 | 
|  | Re: missing right paren « Reply #3 on: Feb 3rd, 2015, 8:48pm »
 |  |  Oops.  I guess I put the right paren in the wrong place.
 This works in both LB4 and LBB:
 
 Code:
 
 r.m.
 |  
| 
|  |  Logged |  
 |  |  |  
| 
| 
| Richard Russell Administrator
 
 
 member is offline
 
  
 
 
 
 
    
 
 Posts: 1348
 
 | 
|  | Re: missing right paren « Reply #4 on: Feb 3rd, 2015, 9:14pm »
 |  |  on Feb 3rd, 2015, 2:41pm, Alincon  wrote:
 | | Well, it does work in LB4 without a right paren. | 
 | 
 This works in LBB too; my preference is to include the right parenthesis, but it's optional:
 
 Code:
 If you have discovered an incompatibility between LB4 and LBB in respect of the SORT statement, what is it?
 
 Richard.
 |  
| 
|  |  Logged |  
 |  |  |  
 |