|
HSQLDB example source code file (logic.sql)
The HSQLDB logic.sql source code
/*
* $Id: logic.sql 219 2007-06-11 06:41:45Z unsaved $
*
* Logic tests
*/
*if (1)
* T1 = true
*end if
*if (! *T1)
\q Test of (1) failed
*end if
*if (0)
\q Test of (0) failed
*end if
*if (! 1)
\q Test of (! 1) failed
*end if
*if (! 0)
* T2 = true
*end if
*if (! *T2)
\q Test of (! 0) failed
*end if
*if (!1)
\q Test of (!1) failed
*end if
*if (!0)
* T3 = true
*end if
*if (!*T3)
\q Test of (!0) failed
*end if
* SETVAR=3
*if (*SETVAR)
* T4 = true
*end if
*if (! *T4)
\q Test of (*SETVAR) failed
*end if
*if (*UNSETVAR)
\q Test of (*UNSETVAR) failed
*end if
*if (! *SETVAR)
\q Test of (! *SETVAR) failed
*end if
*if (! *UNSETVAR)
* T5 = true
*end if
*if (! *T5)
\q Test of (! *UNSETVAR) failed
*end if
*if (!*SETVAR)
\q Test of (!*SETVAR) failed
*end if
*if (!*UNSETVAR)
* T6 = true
*end if
*if (!*T6)
\q Test of (!*UNSETVAR) failed
*end if
Other HSQLDB examples (source code examples)Here is a short list of links related to this HSQLDB logic.sql source code file: |
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.