Go to bottom

Random line of code thread

category: code [glöplog]
Code: ldi High(hlo) xpah 1 ldi Low(hlo) xpal 1 ldi 0Dh xpah 2 ldi 00h xpal 2 ld 0(1)
added on the 2018-08-30 16:42:58 by g0blinish g0blinish
Understanding the concept of "a random line of code" is apparently very hard.
added on the 2018-08-30 16:56:11 by StingRay StingRay
Code: var isVisibleFunc = GObservableFunc.Create( newEditor.IsEnabled, selectionEditor.AvailableItems, selectionEditor, GetIsVisible); bool GetIsVisible(bool isEnabled, IReadOnlyList<SelectionItem<TValue>> availableItems, TNullable currentValue) { var singleValueSelected = availableItems?.Count == 1 && Equals(availableItems[0].Value, currentValue); return isEnabled && (!hideOnSingleValueSelected || !singleValueSelected); }
added on the 2018-08-30 17:52:43 by Orace Orace
goto hell;
added on the 2018-08-30 17:54:23 by skarab skarab


Go to top