Announcement

Collapse
No announcement yet.

Conditional formatting

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Fusion
    replied
    That's cheating. Notepad (or an equivalent ) all the way!

    Leave a comment:


  • John_770
    replied
    Originally posted by Fusion View Post
    #1 types out a tad faster..
    [me]Loads up a WPM program[/me]



    Thanks

    Leave a comment:


  • Fusion
    replied
    #1 types out a tad faster, so that'd be my preference, as it isn't any less confusing with regards to readability. Anyone who codes for a living will eventually choose the most elegant and sleek way of coding. It's more efficient.

    Leave a comment:


  • John_770
    replied
    thankya thankya

    :cheers:

    Leave a comment:


  • Colin F
    replied
    That'd be a personal preference if anyone has one. There shouldn't be any differences in speed.

    Leave a comment:


  • John_770
    started a topic Conditional formatting

    Conditional formatting

    I've seen the conditionals below referenced in a couple threads - both achieve the same result. Just wondering if one of them is preferred over the other for speed, formatting, otherwise:

    1:
    Code:
    <if condition="in_array([COLOR=Red]$forumid,[/COLOR] array(1,2,3))">
    2:
    Code:
    <if condition="in_array([COLOR=Red]$forum['forumid'],[/COLOR] array(1,2,3))">

Related Topics

Collapse

Working...
X