User Tools

Site Tools


modding:function:or

This is an old revision of the document!


or

or

or

Syntax (or [condition]1)
Arguments [condition]: Something other than Nil or Nil
1
Returns condition: the result of oring all of the conditions

or |

Description Returns True if any the conditions are not Nil otherwise returns Nil.

Example

(block (someCondition) 
	(setq someCondition True)
	(or someCondition Nil)
	)

This will return a True. Return to Functions list

modding/function/or.1419655255.txt.gz · Last modified: 2017/01/26 00:12 (external edit)