Flip-flop (programming)

id: flip-flop-programming-239-12508532
title: Flip-flop (programming)
text: In computer programming, a flip-flop is a seldom-used syntactic construct which allows a boolean to flip from false to true when a first condition is met and then back to false when a second condition is met. The syntax is available in the programming languages Perl and Ruby. Similar logic is available in sed and awk. A flip-flop with first condition A and second condition B is not equivalent to "if A and not B", as the former has persistent state and is true even if A is no longer true, as long
brand slug: wiki
category slug: encyclopedia
description:
original url: https://en.wikipedia.org/wiki/Flip-flop_(programming)
date created:
date modified: 2024-03-27T01:37:36Z
main entity: {"identifier":"Q28458140","url":"https://www.wikidata.org/entity/Q28458140"}
image:
fields total: 13
integrity: 13

Related Entries

Explore Next Part