Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Setting value to a char variable
Message
 
 
À
24/07/2001 11:31:43
Jimi Lee
Pop Electronic Products Ltd.
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00534227
Message ID:
00534439
Vues:
11
>Yeah your correct, I have another variable that I use it as a string, but the actualy value in it was sometimes logical. This doesn't cause any error message when I run the program within VFP, makes me can't figure out the problem ealier
>
>Do you think I should compile the program and run the .exe whenever I'm gonna test the program? It seems so...

Just be cautios :) Don't re-use variable names in the same program. Good luck!
>
>Jimi
>
>>>Thanks for the reply, my problem shouldn't be related to the if-clause or the == mark, I tried to remove them but same error..
>>>
>>>i define and use them in a procedure:
>>>
>>>procedure MyProc
>>>  LOCAL MyString
>>>
>>>  ....
>>>  MyString=""
>>>  ....
>>>endproc
>>>
>>>
>>>>>For your reference:
>>>>>(1) Set it to a space doesn't work too
>>>>>(2) I also though it may because VFP dunno it's char type, so I tried
>>>>>MyString="xxx"
>>>>>MyString=""
>>>>>also not work..
>>>>
>>>>How and where did you define those varialbes?
>>
>>It should be something else going on. There is nothing wrong in this particular piece of code.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform