[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

1027.0. "DECwindows and PASCAL" by UTRUST::ELSACKER (Ruud van Elsacker) Wed Jun 28 1989 05:38

	One of my customers is writing a DECwindows application in PASCAL.
	For certain reasons the company he works for has choosen PASCAL
	and COBOL as programming languages and no other one is allowed.
	They found they cannot use the DECwindows functionality in full
	extend e.g. DRMRegisterArg is not possible in PASCAL. Does anyone
	know if limitations for PASCAL are listed somewhere and if so where
	to find them. Is it possible to use UIL and DRM within PASCAL.
	Or who can give me enough ammunition to persuade them to switch over
	to C?

	Thanks in advance

	Ruud van Elsacker

T.RTitleUserPersonal
Name
DateLines
1027.1Of course!QUARK::LIONELB - L - Oh, I don't know!Wed Jun 28 1989 08:579
    If it's possible in FORTRAN (and it is), it's CERTAINLY possible
    in Pascal.  You would, of course, use the "VAX bindings" and not the
    MIT C bindings.  If you could provide more details on just what the
    problems are, perhaps I could help more.   
    
    If you want ammunition on switching to C, don't look in MY direction!
    
    				Steve

1027.2HELLOWORLD already doneQUARK::LIONELB - L - Oh, I don't know!Wed Jun 28 1989 12:285
Notes 19 and 67 in ELKTRA::DW_EXAMPLES contain DRM examples in Pascal
(notably, HELLOWORLD).

			Steve

1027.3TLE::REAGANPascal, A kinder and gentler languageWed Jun 28 1989 12:4516
    Please do NOT tell the customer to switch from Pascal to C.  Pascal,
    via the "VAX bindings", should be able to access all of DECwindows.
    If this isn't possible, then it is a problem that should be reported
    to the DECwindows group.  Just because DECwindows was strongly
    influenced by UNIX and C, doesn't mean that you have to code in C
    to use DECwindows.  You should stress the positive side and NOT
    the negative side.  Tell the customer that it is certainly possible
    to program DECwindows from VAX Pascal under VMS.
    
    The only reason to switch from Pascal to C would be for features in 
    the language that make the application easier to write.  
    
    Pascal isn't a 2nd-class citizen.
    
    				-John (VAX Pascal Project Leader)