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

Conference azur::mcc

Title:DECmcc user notes file. Does not replace IPMT.
Notice:Use IPMT for problems. Newsletter location in note 6187
Moderator:TAEC::BEROUD
Created:Mon Aug 21 1989
Last Modified:Wed Jun 04 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:6497
Total number of notes:27359

990.0. "PBL: How to display text file?" by VERS::PETROU () Mon May 06 1991 10:14


	Hello world,

	I need to implement a directive to display text file as mails or logs...

Questions: Is there any DECmcc's specific way to do it?
           May i create a new attribut (buffer of char) that mcc would treat as 
any other one?
           In the last case, how can i manage the out format in IMPM?

	Regards, Philippe
T.RTitleUserPersonal
Name
DateLines
990.1re:.0BARREL::LEMMONTue May 07 1991 14:1450
   The closest thing we have is SET OF latin1string, or SEQUENCE OF 
latin1string where each element could be one line in the file.   This wouldn't
look that pretty though.  

  It sounds like you need an "ASCII Text File" datatype.  This datatype could
be modeled like a SEQUENCE OF Latin1Strings.  The generic PMs, when displaying
this datatype, could print it in the format:

Atttribute/Argument Label :

line 1
line 2
.
.
.
line n


  If you use the existing SET OF or SEQUENCE OF Latin1Stings datatype, the 
output would look something like:


Command Line
------------

Attribute/Argument  Label :  {"line 1",	
		              "line 2",
		                 .
		                 .
		                 .
		              "line 3"}

Iconic Map
----------

Attribute/Argument Label   | line 1
			   +--------
					
			   | line 2
			   +--------	
		               .
		               .
		               .
				
			   | line n
			   +--------	

Not quite what is desired but it may do the trick.

/Jim