Thanks Buddy

Dropping the v of the variable name was a simplificationI made for this
mail, I did not realized it was reserved word, in production the variable
name is vformc or vforma.

 

The thing is that space at end seems to matter under certain circumstances ,
but I cant figure what those circumstances are (Yet!)

Up to today I always believed that spaces at the end did not matter

 

 

Gunnar Ekblad

Kontema IT AB

H�stholmsv�gen 32

S-131 30 NACKA

070 545 50 38

[EMAIL PROTECTED]

 

-----Ursprungligt meddelande-----
Fr�n: Walker, Buddy [mailto:[EMAIL PROTECTED] F�r Walker, Buddy
Skickat: den 8 augusti 2004 16:58
Till: RBG7-L Mailing List
�mne: RE: [RBG7-L] - Puzzeled

 

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. 
================================================ 

<<attachment: winmail.dat>>

Reply via email to