| T.R | Title | User | Personal Name
 | Date | Lines | 
|---|
| 914.1 | Check the script in question. | HOTAIR::MADDOX | Politicians say the darnedest things | Tue Jun 23 1992 19:30 | 18 | 
|  | Sjaak,
Does the script where you saw this syntax really work?  I've never seen a
symbol used as an identifier unless the symbol contains the identifier and
is decoded using the "GET OA$FUNCTION = " syntax to resolve it.  I.e.:
get #FILE_NAME = "SOMETHING.DAT"
get #FILE = "FILE1"
get OA$FUNCTION = 'text_file open ' #FILE ' #FILE_NAME /write'
The syntax which has always worked for me is:
text_file open FILE1 #FILE_NAME /write
There may be some explanation for using a symbol as an identifier, but I 
haven't seen it.
Joe
 | 
| 914.2 | Pointers | UTRTSC::BOSMAN | We're just sugar mice in the rain | Wed Jun 24 1992 10:18 | 16 | 
|  |     Joe,
    
    Take a look at either:
    - V2.4: SM_ADD_PARTITION.SCP & MUA_PAT_ARCHIVE.SCP in OA$LIB.
    - V3.0: SM_MAS_ARCHIVE(_V2).SCP & SM_PAT_ARCHIVE(_V2).SCP in OA$LIB.
    
    It seems to work, so I think #DOC_ERR is literaly the ID.
    
�   There may be some explanation for using a symbol as an identifier, but I 
�   haven't seen it.
    
    That's why I asked this question, _maybe_ there is a deeper meaning.
    
    
    Regards,
    Sjaak.
 | 
| 914.3 | not used as a symbol | SHALOT::DUNCAN | Joe - CIS/EIC Doc. Mgmt. Solution Set Consultant | Wed Jun 24 1992 16:42 | 8 | 
|  |     The ID is used as an internal tag to identify which file-open you will
    be using for the various TEXT_FILE functions.  It isn't evaluated as a
    symbol, so it doesn't necessarily need to be the name of a temporary
    symbol.  Therefore, assigning any value to #DOC_ERR (in your example)
    is irrelevant -- ALL-IN-1 never evaluates the symbol.  The main
    restriction I see is that it can't contain any embedded white space.
    Joe Duncan @ OPA
 | 
| 914.4 | A joke? | UTRTSC::BOSMAN | We're just sugar mice in the rain | Thu Jun 25 1992 07:16 | 16 | 
|  |     Joe,
    
    
�   symbol.  Therefore, assigning any value to #DOC_ERR (in your example)
�   is irrelevant -- ALL-IN-1 never evaluates the symbol.  The main
    May I remind you that this is standard ALL-IN-1 stuff? And because
    there are other undocumented features I thought this may be another
    one.
    
    From your reply I conclude that #DOC_ERR is taken literally and maybe a
    programmers joke to confuse us :-)
    
    
    Regards,
    Sjaak.
 |