Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Iif(lExp, .t., .f.)?
Message
From
22/01/2010 17:58:57
 
 
To
22/01/2010 17:53:35
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01445223
Message ID:
01445573
Views:
22
>>>Someone else may have to continue extending and maintaining the code. That's the real issue here, I guess.
>>
>>I find it highly unlikely that any programmer could not understand:
>>
>>IF this.value = .F.
>>
>>:o)
>
>That's a simple one, but I was scratching my head over this one for quite a while... mostly because I couldn't believe my eyes:
>
If used('tmpCnt')
>   If inlist(thisform.pmnaddrtype, 2, 4) && Contact Address -----10/13 changed from 2,4 because on page 5,
>      slcSel = rpt_dict.pmSelect1 && Contact is value 1
>   Else && Permanent
>      slcSel = rpt_dict.pmSelect1
>   Endif
>Else
>   slcSel = rpt_dict.pmSelect1
>Endif
>
>Also...
>
IF SEEK(PADR(LEFT(slcDDTableOrView,112),112)
>...took me a while to see how the line got into this shape.

Hey I've looked at stuff like that.

. How about blocks of code commented out by wrapping them in an if statement
IF x <> x
blah blah

ENDIF
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform