An Entity of Type: Thing, from Named Graph: http://dbpedia.org, within Data Space: dbpedia.org

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 as at some point in the past A was true and B has always been false.

Property Value
dbo:abstract
  • 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 as at some point in the past A was true and B has always been false. (en)
  • 计算机编程中,翻转(flip-flop)运算符是指一种运算符,当第一个操作数的值变为真,则操作符的结果从假变为真;当第二个操作数的值变为真,则操作符的结果从真变为假。Perl语言和Ruby,以及sed和awk有这种运算符。 (zh)
dbo:wikiPageID
  • 52058771 (xsd:integer)
dbo:wikiPageLength
  • 3142 (xsd:nonNegativeInteger)
dbo:wikiPageRevisionID
  • 1094467210 (xsd:integer)
dbo:wikiPageWikiLink
dbp:wikiPageUsesTemplate
dcterms:subject
rdfs:comment
  • 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 as at some point in the past A was true and B has always been false. (en)
  • 计算机编程中,翻转(flip-flop)运算符是指一种运算符,当第一个操作数的值变为真,则操作符的结果从假变为真;当第二个操作数的值变为真,则操作符的结果从真变为假。Perl语言和Ruby,以及sed和awk有这种运算符。 (zh)
rdfs:label
  • Flip-flop (programming) (en)
  • 翻转运算符 (zh)
owl:sameAs
prov:wasDerivedFrom
foaf:isPrimaryTopicOf
is dbo:wikiPageDisambiguates of
is dbo:wikiPageRedirects of
is dbo:wikiPageWikiLink of
is foaf:primaryTopic of
Powered by OpenLink Virtuoso    This material is Open Knowledge     W3C Semantic Web Technology     This material is Open Knowledge    Valid XHTML + RDFa
This content was extracted from Wikipedia and is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License