tatterdemalion@programming.dev to Science Memes@mander.xyzEnglish · 23 days agoif statement == falsei.imgflip.comimagemessage-square35fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1imageif statement == falsei.imgflip.comtatterdemalion@programming.dev to Science Memes@mander.xyzEnglish · 23 days agomessage-square35fedilink
minus-squaredohpaz42@lemmy.worldlinkfedilinkEnglisharrow-up0·23 days agoNot sure what you’re trying to achieve with that else block, as it affects nothing.
minus-squarekbal@fedia.iolinkfedilinkarrow-up0·23 days agookay I fixed it if ( test == false ) x = 1 else assert( x != 1 )
Not sure what you’re trying to achieve with that else block, as it affects nothing.
okay I fixed it
if ( test == false ) x = 1 else assert( x != 1 )