Results 1 to 7 of 7

Thread: MORE! vbcode errors

  1. #1

    Thread Starter
    Frenzied Member Microbasic's Avatar
    Join Date
    Mar 2001
    Posts
    1,402

    MORE! vbcode errors

    VB Code:
    1. Why = " Is Some Of This Highlighted Now ?  Is Me Build For Error ?!"
    2.  
    3. 'Not supposed to be blue
    4. Format
    5. Now
    6. Date(Now)
    7.  
    8. '0 is supposed to be blue
    9. Option Base 0
    10.  
    11. 'These should've been blue
    12. Local
    13. True
    14. False
    15. TypeOf
    16. AddressOf
    17.  
    18. 'What about _
    19.  Interline Comments?  These are supposed to be green!


    MicroBasic
    Dragon Shadow Trainer

    There is no good or evil in the world...only programmers and fools .

  2. #2
    Fanatic Member
    Join Date
    Jan 1999
    Location
    UK
    Posts
    593
    Hey - I never said it was perfect

    It's better than nothing!

    John

  3. #3
    Matthew Gates
    Guest
    You should allow color tags in vbcode tags John, this way, we can color all the ones that won't color, so the code looks all beautyful .

  4. #4
    Fanatic Member
    Join Date
    Jan 1999
    Location
    UK
    Posts
    593
    You can!

    VB Code:
    1. If [COLOR=red]Colour[/COLOR] = True Then
    2.  Matt = "oops!"
    3. Endif

    John

  5. #5

    Thread Starter
    Frenzied Member Microbasic's Avatar
    Join Date
    Mar 2001
    Posts
    1,402
    Yes, but any word that IS colored can not be recolored, like

    VB Code:
    1. [color=green]InStr[/color] John, InStr isn't green and the teg says so!


    MicroBasic
    Dragon Shadow Trainer

    There is no good or evil in the world...only programmers and fools .

  6. #6

    Thread Starter
    Frenzied Member Microbasic's Avatar
    Join Date
    Mar 2001
    Posts
    1,402
    Yes, but any word that IS colored can not be recolored, like

    VB Code:
    1. [color=green]Date[/color] John, InStr isn [color=crimson]'t green and the teg says so![/color]

    Then again, I'm wrong.


    MicroBasic
    Dragon Shadow Trainer

    There is no good or evil in the world...only programmers and fools .

  7. #7
    Matthew Gates
    Guest
    Originally posted by John
    You can!

    VB Code:
    1. If [COLOR=red]Colour[/COLOR] = True Then
    2.  Matt = "oops!"
    3. Endif

    John

    VB Code:
    1. sText = StrReverse(sText)
    VB Code:
    1. sText = [color=#0000a0]StrReverse[/color](sText)


    Ah, it works now .

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width