Re: proc Compiler


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

Posted by Barbara Brazil on August 11, 2008 at 08:37:08:

In Reply to: proc Compiler posted by Robert G Laurin on August 11, 2008 at 08:09:19:

Robert:

I will try to answer all your questions. First, take a look at the demo programs that were released with Comet32. It'll show you how to declare a Subroutine. It's really easy:
Subroutine MySub()

Currently the maximum length of any constant in CosM32 is 1024. That's why I suggested you break up that long one you had in your last post. You'll get the "Out of Memory" error if any constant exceeds 1024 characters. Of course you may have found some other unexpected problem :-) Again, if you want to send source I'll check it out.

CosM32 makes several passes. It does the Declarative section of the main proc first. Then the executable section of the main proc. Then it does 2 passes for each user-defined function - declarative and executable. These functions may be declared and defined in include files. All user-defined functions and subroutines are declared at the top of the main proc and then defined after the main proc's END statement. Each user-defined proc must end with it's own END statement.

bb




Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?  

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]