Results 1 to 19 of 19

Thread: one line assignment [solved]

Threaded View

  1. #1

    Thread Starter
    Lively Member ayan's Avatar
    Join Date
    Jan 2004
    Posts
    112

    one line assignment [solved]

    halu,

    i'm kinda confuse about one line initialization... this gives me a "not i want" output...
    VB Code:
    1. cmbCategoryStatus.Text = cmbMakersStatus.Text = String.Empty
    is there a bug? i really don't know... it doesn't clear at all. it just clears the cmbMakersStatus and put "True" to cmbCategoryStatus.Text. is this supported in VB.NET -- the one line initialization?

    it also has no effect with integers either... like
    VB Code:
    1. i=j=0
    just want to clarify if VB supports this kind of initialization...

    thanx
    Last edited by ayan; Feb 4th, 2004 at 12:54 AM.

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