![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Our LOGIN has many entries of the form: IF @LOGNAME="xxx" THEN SOME.MENU IF @LOGNAME="xxx" THEN LOGOUT This offends my sense of good programming. There must be a (probably several) better way. Somewhere in the collected intelligence of the UV community there is an answer. I would appreciate any suggestions. |
#3
| |||
| |||
|
|
Our LOGIN has many entries of the form: IF @LOGNAME="xxx" THEN SOME.MENU IF @LOGNAME="xxx" THEN LOGOUT This offends my sense of good programming. There must be a (probably several) better way. Somewhere in the collected intelligence of the UV community there is an answer. I would appreciate any suggestions. |
#4
| |||
| |||
|
|
Our LOGIN has many entries of the form: IF @LOGNAME="xxx" THEN SOME.MENU IF @LOGNAME="xxx" THEN LOGOUT This offends my sense of good programming. There must be a (probably several) better way. Somewhere in the collected intelligence of the UV community there is an answer. I would appreciate any suggestions. |
#5
| |||
| |||
|
|
I'm repling to my own question to ask a more detailed one. Could I do something like: MYLOGIN,@LOGNAME,1) LOGOUT where MYLOGIN is a simple database with @LOGNAME as its key and the proper menu name as the 1st data value? Likewise, if the @LOGNAME is missing from the database, no command would execute followed by LOGOUT which is great by me! Robert Stearns wrote: Our LOGIN has many entries of the form: IF @LOGNAME="xxx" THEN SOME.MENU IF @LOGNAME="xxx" THEN LOGOUT This offends my sense of good programming. There must be a (probably several) better way. Somewhere in the collected intelligence of the UV community there is an answer. I would appreciate any suggestions. |
#6
| |||
| |||
|
|
Our LOGIN has many entries of the form: IF @LOGNAME="xxx" THEN SOME.MENU IF @LOGNAME="xxx" THEN LOGOUT This offends my sense of good programming. There must be a (probably several) better way. Somewhere in the collected intelligence of the UV community there is an answer. I would appreciate any suggestions. |
![]() |
| Thread Tools | |
| Display Modes | |
| |