Welcome to Emulationworld

Forum Index | FAQ | New User | Login | Search

Make a New PostPrevious ThreadView All ThreadsNext ThreadShow in Flat Mode*


SubjectThere's also a "Goto" in there ;o) -nt- Reply to this message
Posted byMarv
Posted on07/13/06 01:45 AM



> The problem is that you're using an old and shitty language. Just remember that
> you brought this thrashing upon yourself...
>
> Good god man, you mix your DB code with your form code? Separate that shiznit!
> Have you heard of separating your application into logical layers? Business
> objects? And give your goddam form objects meaningful names! If I had even an
> incling of what relationship Problema12, Problema22, List(2,5,13), etc had then
> maybe it would make this easier to read. And this condition,
>
> If posicao = -1 Then Exit Sub
> If posicao -1 Then
>
> If the first "If" statement isn't true then the second "If" statement has to be
> true! You don't need the second condition at all. And despite my cuntings I've
> taken the time to cut up the code and try to figure out what's going on. The
> question you have is "why doesn't this if statement ever return true?" We have
> no way of ever knowing. Label1.Caption comes from achou which is
> dBase.Field(3), whatever that is. Label2.Caption comes from a list which we
> have no idea what's in it.
>
> Let me ask a simple question. Have you looked at this in the debugger and if
> you have what are the values of Label1.Caption and Label2.Caption when it hits
> this condition?
>
>
>
> pixel-eight.com
>




-
Entire Thread
Subject  Posted byPosted On
*Visual Basic help, anyone ?  Ti-BOne07/12/06 11:10 AM
.*You defile my forum with Visual Basic!?  Snowball 207/12/06 09:11 PM
..*i was wondering how long it was gonna take.  Ti-BOne07/13/06 08:23 AM
...*I'm biased  Snowball 207/13/06 08:56 AM
....*Yar  Marv07/13/06 09:05 AM
...There's also a "Goto" in there ;o) -nt-  Marv07/13/06 01:45 AM
.*Re: Visual Basic help, anyone ?  Marv07/12/06 06:12 PM
..*Re: Visual Basic help, anyone ?  Ti-BOne07/12/06 07:09 PM
...*Re: Visual Basic help, anyone ?  Marv07/13/06 04:57 AM
.*Re: Visual Basic help, anyone ?  arucard07/12/06 11:22 AM
..*Re: Visual Basic help, anyone ?  Ti-BOne07/12/06 01:33 PM