ooPIC Logo

End Statement

Main Index
Language Idx
Back to top of pageDescription:
 
When used by itself, the End Statement, shuts down the ooPIC.
Also used in conjunction with the Sub, Select and If keywords in Basic syntax where it signifies the end of a block of code.
Back to top of pageSyntax:
 
The following shows the format of the End Statement syntax.
Visual Basic & BASICC & Java
End
n/a
Back to top of pageOperation:
 
Basic Syntax:
When an End Statement is encountered in code the Operate property of the ooPIC Object is set to 0.

C and Java Syntax:
The End Statement is not implemented in either C or Java syntax.

Back to top of pageExample:
 
In the following example, and End Statement is shown that shuts down the ooPIC if the Value of A is equal to 1.
Visual Basic & BASICC & Java
If A.Value = 1 Then End
Not possible using in C and Java syntax.
To shut down the ooPIC in C or Java set the Operate Property of the ooPIC Object to 0 as shown:
if (A.Value == 1) ooPIC.Operate = 0;

Back to top of pageRelated Items:

 The ooPIC Object's Operate and Pause properties, Sub, Select and If.
Back to top of pageVersion History and Bug List:
 Firmware Ver A1: Introduced.

Bugs: No known bugs.


 

ooPIC Compiler Ver 6.0 (c) Copyright 1997 - 2007 Savage Innovations, LLC.