Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Hidden secret VFP logout command???
Message
From
28/07/2023 14:35:05
 
 
To
27/07/2023 12:48:13
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01686862
Message ID:
01686883
Views:
59
>>>>In our main PRG we have a function/procedure that is called logout. Sounds simple enough, right?
>>>>
>>>>Two things are interesting about it. When you code with intellisense on and type 'logout' it turns blue like it's a VFP command even in the command window.
>>>>
>>>>Second, when you call it like: logout() it does not get found and nothing happens. When you call it like: =logout() it works.
>>>>
>>>>Any ideas?
>>> Logout is in deed in VFP's list of reserved words. https://www.vfphelp.com/vfp9/_5wn12pc4x.htm
>>
>>Thanks Tore. But LOGOUT is not documented in Help. What do you think LOGOUT does?
>
>FWIW, we documented the existence of LogOut, along with a bunch of other "secret" commands and functions in HackFox. It turns up in the output of ALanguage().
>
>Tamar

One of the reasons i used Dutch names for procedures & functions.
Previous
Reply
Map
View

Click here to load this message in the networking platform