guest598594 commented on a Page, HTML Viewer  -  Sep 25, 2008
      if (!$did(4).text) {
        did -b $dname 5
      }
      else {
        did -e $dname 5
      }

I'd use $iif there

did $iif($did(4).text,-e,-b) $dname 5
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.