On Thu, Aug 4, 2011 at 1:03 PM, Oliver Sims
<[email protected]> wrote:

> What is the purpose of a *.cls file?
> I could find nothing in the ooRexx Ref or Guide that distingushes between
> *.rex and *.cls files.
> I tried a little experiment, and a I cannot immediately see any difference.

No difference really for the interpreter.  (Although it could have
some affect on the external program file search depending on how
things are used.  Which I'm not going into.)

As to the current use in ooDialog.  The original files defining the
ooDialog classes, as IBM did it, were named with a .cls extension.
The file names were only used in ::requires statements.

It makes some sense if you think of .cls files as containing Rexx
class definitions.  For instance, if you defined a class:
MyExcellentClass, you might want to put it into a file named
MyExcellentClass.cls if you intended to ::requires it in you programs.

The ooDialog.cls file could just as well be named: ooDialog.frm
meaning it was the definition for the ooDialog framework.  And, it
could be named ooDialog.rex and would work exactly the same.

The .cls extension is a convention, nothing more.  (And it is a
convention not well defined.)

--
Mark Miesfeld

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Oorexx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to