Contact US

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.

Students Click Here

Call a Source Procedure

Call a Source Procedure

Call a Source Procedure

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.


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


RE: Call a Source Procedure

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


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.


RE: Call a Source Procedure

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! 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