Gunnar
  I get a forma is a reserved word.
 
  You need to add the v to your other set var. You have the strim looking at .vforma 
and I don't see where you are setting vforma
 
  The space at the end  seems to drop  with or without using the strim
 
SET VAR vforma = 'ABCD    ' 
SET VAR vforma = (strim(.vforma)) 
SET VAR vformc = (.vforma + 'C') 
 
Buddy
 
  

        -----Original Message----- 
        From: Gunnar Ekblad [mailto:[EMAIL PROTECTED] 
        Sent: Sun 8/8/2004 10:43 AM 
        To: RBG7-L Mailing List 
        Cc: 
        Subject: [RBG7-L] - Puzzeled
        
        


        For years this code (simplified version) has worked from 2.11 up to 
        7.003 dos version of R:Base: 

        SET VAR forma = 'ABCD    ' 
        SET VAR formc = (.forma + 'C') 

        To distinguish a form used for add (enter) mode and change (edit) mode. 

        Today I changed the code to : 

        SET VAR forma = 'ABCD    ' 
        SET VAR forma = (strim(.vforma)) 
        SET VAR formc = (.forma + 'C') 


        What settings have me to require the STRIM function? It is not a problem 
        I am just curious what made me require the strim today when I lived 
        without it for maybe 15 years 

        Gunnar Ekblad 

        --- RBG7-L 
        ================================================ 
        TO POST A MESSAGE TO ALL MEMBERS: 
        Send a plain text email to [EMAIL PROTECTED] 

        (Don't use any of these words as your Subject: 
        INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH, 
        REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP) 
        ================================================ 
        TO SEE MESSAGE POSTING GUIDELINES: 
        Send a plain text email to [EMAIL PROTECTED] 
        In the message SUBJECT, put just one word: INTRO 
        ================================================ 
        TO UNSUBSCRIBE: 
        Send a plain text email to [EMAIL PROTECTED] 
        In the message SUBJECT, put just one word: UNSUBSCRIBE 
        ================================================ 
        TO SEARCH ARCHIVES: 
        Send a plain text email to [EMAIL PROTECTED] 
        In the message SUBJECT, put just one word: SEARCH-n 
        (where n is the number of days). In the message body, 
        place any 
        text to search for. 
        ================================================ 

<<winmail.dat>>

Reply via email to