Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Uh Ohh.. Have I found another error?
Message
De
05/09/2001 11:36:50
 
 
À
05/09/2001 11:30:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00551426
Message ID:
00552574
Vues:
16
Wow.. well spotted..
the Laptop I was seeing the problem on wasn't on the NW so I just typed the skip for statement into UT again (Hence the reason for the message "Blah")

Guess I should have taken more care
Sorry for making your investigation more difficult

Will

>I see the problem now, and I sent it up the line.
>
>It works OK if there is a space in the SKIP FOR prior to the first .F., but if there is not, the SKIP FOR is omitted. If I use the SKIP FOR below, it will happen. I didn't see it before because your posted SKIP FOR had the extra space.
IIF(EMPTY(ga_trns[1]),.F., gn_ModMode <> 2 OR TYPE("pl_stkdisp") = "U" OR NOT pl_stkdisp) ;

>You can fix this by editing GENMENU.PRG, in the AddSkipFor function. I changed line 1250 from this:
IF ATC(".F.",GETWORDNUM(m.skip,1)) # 0

>to this:
IF ATC(".F.",GETWORDNUM(ALLTRIM(m.skip),1)) = 1

>and it seems to work fine for me. Please note that I HAVE NOT TESTED THIS EXTENSIVELY, but I think my logic is OK. Alternately, you can leave Genmenu as it was, and include spaces in your SKIP FOR prior to the first .F..
>
>The problem is we should only drop the SKIP FOR if the .F. is first, not if it is anywhere in the first word.
>
>Thanks for sending this through!
>
>Jim
Will Jones
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform