finding_20the_20current_20user_20name
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
finding_20the_20current_20user_20name [2018/03/31 13:19] – external edit 127.0.0.1 | finding_20the_20current_20user_20name [2024/01/05 00:22] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
=====Finding the current user name===== | =====Finding the current user name===== | ||
- | //by Richard Russell, October 2010//\\ \\ To find the user name for the current thread use this function:\\ | + | //by Richard Russell, October 2010//\\ \\ To find the user name for the current thread use this function: |
+ | |||
+ | <code bb4w> | ||
DEF FNusername | DEF FNusername | ||
LOCAL name%, size% | LOCAL name%, size% | ||
Line 8: | Line 10: | ||
SYS " | SYS " | ||
= $$name% | = $$name% | ||
- | The function can be called in the following context:\\ | + | </ |
+ | |||
+ | The function can be called in the following context: | ||
+ | |||
+ | <code bb4w> | ||
PRINT "The user name is " FNusername | PRINT "The user name is " FNusername | ||
+ | </ |
finding_20the_20current_20user_20name.1522502360.txt.gz · Last modified: 2024/01/05 00:17 (external edit)