LightJason / Java-AgentSpeak

LightJason - AgentSpeak(L++) for Java
https://agentspeak-java.lightjason.org
Other
23 stars 7 forks source link

reviewed string actions #1

Closed Fatema080136 closed 7 years ago

Fatema080136 commented 7 years ago

From my point of view, the following example: [A|B] = string/ncd( "BZIP|GZIP|DEFLATE|PACK200|XZ", "foo bar", "test foo", "bar foo" );

could written as: [A|B] = string/ncd( "BZIP", "foo bar", "test foo", "bar foo" );

Run with individual compression algorithm, works correctly. But [A|B] = string/ncd( "XZ", "foo bar", "test foo", "bar foo" ); Shows error.

Did not change this things within ncd action, as I am not sure.

flashpixx commented 7 years ago

| is equal to "or", so it is only a short description