mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
[MIRROR] Server maint subsystem (#9408)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
4f9bd4462d
commit
f72f2f8c89
@@ -208,15 +208,6 @@
|
||||
list -= null
|
||||
return
|
||||
|
||||
//CHOMPAdd Start, list clear with return value
|
||||
/**
|
||||
* Removes any null entries from the list
|
||||
* Returns TRUE if the list had nulls, FALSE otherwise
|
||||
**/
|
||||
/proc/list_clear_nulls(list/list_to_clear)
|
||||
return (list_to_clear.RemoveAll(null) > 0)
|
||||
//CHOMPAdd End
|
||||
|
||||
/*
|
||||
* Returns list containing all the entries from first list that are not present in second.
|
||||
* If skiprep = 1, repeated elements are treated as one.
|
||||
@@ -234,6 +225,13 @@
|
||||
result = first - second
|
||||
return result
|
||||
|
||||
/**
|
||||
* Removes any null entries from the list
|
||||
* Returns TRUE if the list had nulls, FALSE otherwise
|
||||
**/
|
||||
/proc/list_clear_nulls(list/list_to_clear)
|
||||
return (list_to_clear.RemoveAll(null) > 0)
|
||||
|
||||
/*
|
||||
Two lists may be different (A!=B) even if they have the same elements.
|
||||
This actually tests if they have the same entries and values.
|
||||
|
||||
Reference in New Issue
Block a user