×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

How to use (get-logical-name) ?

How to use (get-logical-name) ?

How to use (get-logical-name) ?

(OP)
I wan't to display the eway name in a monk script to a external file with

       (display (get-logical-name) fp4)

but the eway becomes an error:

9:27:23.680 MNK  E 4628 (monklog:406):  >>Evaluation Of Dynamically Created Expression.
09:27:23.680 MNK  E 4628 (monklog:406):     
09:27:23.680 MNK  E 4628 (monklog:406): (get-logical-name)
09:27:23.680 MNK  E 4628 (monklog:391): >>>>MONKEXCEPT:0036: RESOLVE_VARIABLE: variable <get-logical-name> has not been
09:27:23.680 MNK  E 4628 (monklog:406): defined.
09:27:23.680 MNK  E 4628 (monklog:406):  >>Evaluation Of Dynamically Created Expression.
09:27:23.680 MNK  E 4628 (monklog:406):     
09:27:23.680 MNK  E 4628 (monklog:406): (display (get-logical-name) fp4)
09:27:23.680 MNK  E 4628 (monklog:406):  >>Evaluation Of Dynamically Created Expression.
09:27:23.680 MNK  E 4628 (monklog:406):     

What is wrong?

RE: How to use (get-logical-name) ?

DarkRaven2

The error message "variable <get-logical-name> has not been defined." with regard to functions, generally means that the function you've called has not been loaded (So is not availible to use).

What type of e*Way/bob are you running? As the Monk help file states:

The following functions are available to all e*Ways based on the Extension Kit:

event-send-to-egate
get-logical-name
send-external-down
send-external-up
shutdown-request
start-schedule
stop-schedule


I hit the same problem as you when trying to use the function in a BOB collaboration rule and could not find a way around it.

Sorry it's not a solution to your problem, but I hope it goes some way helping with it.

Cheers,

Glenn

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close