x wrote:
>   REC = ''
>   REC<1> = "AAAAAAAA ;* X"  ;* space after *
>   REC<2> = "BBBBBBBB ;*"    ;* no space after *
>   FOR I = 1 TO 2
>     LINE = REC<I>
>     CRT LINE
>     A = FIELD(LINE,'* ',2)    ;* space after *
>     CRT A
>   NEXT I
> END
>
> On my machine this small program does not work and apparently corrupts
> the JBASEWORK file.
> In order to experience the bug it is important to keep the "REC" lines
> in this structure that is:
> Line 1) 8 alphanumeric, spaces, ";* ", alphanumeric
> Line 2) 8 alphanumeric, spaces, ";*"
>
> Windows XP
> jBASE 4.1.5.17
>
>   
Have you reported this to devsup, or TEMENOS if you are a TEMENOS customer?

However, you need to be careful using multiple characters as a delimiter 
to FIELD. While jBASE supports it natively, it has to be turned off and 
only use the first character of the delimiter string for a lot of 
emulations. Otherwise, sloppy application programming, relying on 
implementation side effects such as only using the first character of 
the delimiter even if there are two or three or 98 characters in the 
delimiter. I suspect that that is at the heart of the matter, but I have 
never seen something like this corrupt the jBASEWORK file itself. I 
wonder if it is seg faulting and leaving outstanding disk writes.

Anyway, this is a severe bug if confirmed and needs to be reported ASAP.

Jim

--~--~---------~--~----~------------~-------~--~----~
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to