qore
qore copied to clipboard
Qore Programming Language
``` unhandled QORE System exception thrown in TID 1 at 2018-04-10 05:49:05.816907 Tue +02:00 (CEST) on line -1 PARSE-EXCEPTION: 1 conditional block left open at end of file ```
``` DUPLICATE-LOCAL-VARIABLE: local variable 'parse_result' was already declared in this lexical scope at ./misc/has_effect.qtest:32 QUnit Test "HasEffectTest" v1.0 warning encountered at ./vars/string.qtest:302 RETURN-VALUE-IGNORED: call to method ::equalPartialPath() does not have...
ex: ``` david@meteor:~/src/Qorus/git/qorus/test/java$ java -cp /Users/david/src/Qorus/test/jar/qorus-client.jar:/Users/david/src/Qorus/test/jar/qorus-test.jar:/Users/david/src/Qorus/test/jar/qore-jni.jar:. -Djava.library.path=/usr/local/lib TestJob Exception in thread "main" org.qore.jni.QoreExceptionWrapper: RUNTIME-CAST-ERROR: cannot cast from type 'nothing' to 'list' at org.qore.jni.QoreJavaApi.newObjectSave0(Native Method) at org.qore.jni.QoreJavaApi.newObjectSave(QoreJavaApi.java:178) at com.qoretechnologies.qorus.test.QorusJobTest.(QorusJobTest.java:37) at TestJob.main(TestJob.java:11)...
Disallow user declarations of some word, such as `int`, `hash`, `True`, `self`, `if`... The reasons are: - using keywords such as `else` as function names leads to confusion - redefining...
to improve the maintainability and clarity of the code; using c++ exceptions will result in more concise code as well
currently all Logger messages are formatted after submission which makes *printf-style format characters disappear - ex: a literal logging string like `%s %y %d` will be logged as ` null...
with libzmq 4.2.3: ``` Crashed Thread: 183 qore/1845 Exception Type: EXC_BAD_ACCESS (SIGABRT) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY VM Regions Near 0: --> __TEXT 000000010f512000-000000010f6a1000 [ 1596K] r-x/rwx...
Example: ``` CREATE INDEX H3G_IT_UMS_WR_LOT_NUMBERS_03N ON H3G_IT_UMS_WR_LOT_NUMBERS (CASE LOT_OWNER WHEN 'mvno' THEN MVNO_ID ELSE CARD_TYPE||NUMBER_TYPE END ) / ```
wrong order is: ```sql STD SQL> drop index h3g_it_int_code_comb_pk ERROR: DBI:ORACLE:OCI-ERROR: h3g_apex@ebssib01: QorePreparedStatement::exec(): ORA-02429: cannot drop index used for enforcement of unique/primary key STD SQL> alter table h3g_apex.h3g_it_int_code_combinations drop primary...