error processing to detect empty strings in ADD
This commit is contained in:
parent
b0a8cc6699
commit
ee02120e92
|
@ -403,6 +403,8 @@ ADD(ZG,ZS,ZP,ZO,FARY) ; ADD A TRIPLE TO THE TRIPLESTORE. ALL VALUES ARE TEXT
|
||||||
N ZNODE
|
N ZNODE
|
||||||
S ZNODE="N"_$$LKY17
|
S ZNODE="N"_$$LKY17
|
||||||
N ZNARY ; GET READY TO CALL IENOFA
|
N ZNARY ; GET READY TO CALL IENOFA
|
||||||
|
I (ZG="")!(ZS="")!(ZP="")!(ZO="") D Q ;
|
||||||
|
. I $G(DEBUG) W !,"Error Empty String ZG:"_ZG_" ZS:"_ZS_" ZP:"_ZP_" ZO"_ZO
|
||||||
S ZNARY("ZG",ZG)=""
|
S ZNARY("ZG",ZG)=""
|
||||||
S ZNARY("ZS",ZS)=""
|
S ZNARY("ZS",ZS)=""
|
||||||
S ZNARY("ZP",ZP)=""
|
S ZNARY("ZP",ZP)=""
|
||||||
|
|
Loading…
Reference in New Issue