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!

*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.

Jobs

Call a Source Procedure

Call a Source Procedure

(OP)
Hi, guys... remember, new to Clarion (5) here...

I have a Source Procedure I'm using in the Action of a Button where I use "Call a Procedure" and specify the name.

I also need to somehow call that same Procedure from Embedded Source code.  I don't think I can use the CALL command because the Procedure with the Source Code is in the same EXE I'm calling from.

Thanks!

RE: Call a Source Procedure

You may simply put the Procedure name in the code or       
START(Procedure name, 25000)

the important thing is add the Procedure name to the procedures
(pressing  procedures button) or declate it globally.




 

RE: Call a Source Procedure

(OP)
AWESOME!  THANK YOU!

RE: Call a Source Procedure

(OP)
Hmmm... slight problem.  I need to be able to execute the Procedure in the same thread -- like having the "Initiate Thread" unchecked in an Action.  According to the Help, if I leave Stack omitted, it defaults to 10,000.  Is that possible?

RE: Call a Source Procedure

Hi!

If MyProcedure is the name of the procedure, calling it as ::

MyProcedure() opens it in the same thread AND

START(MyProcedure, 25000) calls it in a NEW thread.

Regards
 

RE: Call a Source Procedure

(OP)
YES!  Thanks, again!!

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!

Resources

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