donsrini
30th October 2002, 02:56
Hi

I am trying to import a variable from one program to another, and when the variable is decalred in Caps, the import for some reason does not bring the correct value...

This is what I mean:

In my 1st session:

extern domain tcbool FIND.LINES

FIND.LINES = TRUE

In my 2nd session:

extern domain tcbool FIND.LINES

import("FIND.LINES", FIND.LINES)

The value for FIND.LINES in 2nd session is 0 (meaning FALSE)

when I change the variable name from CAPs to Small, it works fine.

So why is import so partial to variables declared in CAPS?

jvenderb
31st October 2002, 23:33
May be FIND.LINES is some kind of internal used define or variable. Does the same occur if you use instead of FIND.LINES something like SEARCH.LINES?

donsrini
2nd November 2002, 00:22
thanks for the feedback. I have not tried "SEARCH.LINES", but I have tried a bunch of other combinations all in Upper case, and they don't work.
Did you also notice that when you declare a variable in upper case and in debug check the value of it, it displays the variable in lower case?

baanprog
3rd November 2002, 22:09
May I ask why is it so important for you to use CAPS?.The reason is in BaaN there are so many things that wont work and in client place we normally find work-arounds for them, if it works then its fine, how it works, is secondary.I think you will appreciate my comments if u are in a client place with very tight time schedule.


I will be working on why it is so........................