chethu4u143
19th November 2008, 11:51
Whats the use of variants in program scripts how are they usefull ?
and also what is the use of using ident in the program scripts ?

thanks for all Baan kings :)
who are answering to this..
plz drop me a private mail regarding this , thank you

george7a
19th November 2008, 12:50
Hi,

Here is the link for "#ident" documentation:
http://www.baanboard.com/programmers_manual_baanerp_help_3gl_features_object_identifications_preprocessor

Can you please elaborate more about what do you mean by "variants"?

- George

chethu4u143
19th November 2008, 12:57
actually while copying the script from baan session, you will be asked whether to create a variant or not in baan 4 b2. if selected yes , then you will have a new variant created ( separate script ) . At max you can create only 5 variants for each program script.
my question is what is the use of these variant when compare to normal copying up ( taking back up) of a script

mark_h
20th November 2008, 23:40
We don't use it. Me - I just copy the scripts to something like .1 or .2 if I need to keep multiple copies. Then I just point the session to the version I want to run. I have only done this a few times. Usually in development we only work on a copy of production. I am sure others might have a different use for it.

kw_foo
21st November 2008, 04:28
We use this as the backup of some complicated script before we make the changes on it so that we can check and compare the code before the modification and also allow to quick roll back if something unexpected after it roll out to production.

zardoz
21st November 2008, 09:27
For me it's a useless option. When changing a script I always keep track in it of the changes by means of standard comments of start/end of old or new changes, so it's easy anyway to turn the script to original state.

norwim
21st November 2008, 10:04
I have used it only a couple of times and regret it very much. The main risk I see is that sometimes I don't look whether there are variants and variant 0 as default will be opened for editing.
So far it has never happened, but I fear that one day I will make a change in the obsolete version and compile it :-(
Today I take backups on OS level before changing a script - besides we have a test environment.
Has anyone found this variant thing useful so far??

regards

Norbert

günther
21st November 2008, 10:33
Exactly my opinion. I never use it , and I find it very risky.

Günther