I seem to recall that BR now has the ability to "create" environment
variables and assign values. I am trying to create an environment variable
called usernum. Usernum would have a number assigned to it based on a login
determination.
Can anyone tell me the syntax of this, whether it can be done in program
mode.
Thanks
_______________________________________________
BR_forum mailing list
BR_forum@maillist.ads.net
http://maillist.ads.net/mailman/listinfo/br_forum
Post generated using Mail2Forum (http://www.mail2forum.com)
[BR_forum] Setenv
Moderators: Susan Smith, admin, Gabriel
[BR_forum] Setenv
SetEnv("UserNum","value to set it to")
-----Original Message-----
From: br_forum-bounces@maillist.ads.net
[mailto:br_forum-bounces@maillist.ads.net] On Behalf Of Larry
Sent: Thursday, October 02, 2008 9:57 AM
To: 'Business Rules Forum'
Subject: [BR_forum] Setenv
I seem to recall that BR now has the ability to "create" environment variables
and assign values. I am trying to create an environment variable called
usernum. Usernum would have a number assigned to it based on a login
determination.
Can anyone tell me the syntax of this, whether it can be done in program mode.
Thanks
_______________________________________________
BR_forum mailing list
BR_forum@maillist.ads.net
http://maillist.ads.net/mailman/listinfo/br_forum
_______________________________________________
BR_forum mailing list
BR_forum@maillist.ads.net
http://maillist.ads.net/mailman/listinfo/br_forum
Post generated using Mail2Forum (http://www.mail2forum.com)
-----Original Message-----
From: br_forum-bounces@maillist.ads.net
[mailto:br_forum-bounces@maillist.ads.net] On Behalf Of Larry
Sent: Thursday, October 02, 2008 9:57 AM
To: 'Business Rules Forum'
Subject: [BR_forum] Setenv
I seem to recall that BR now has the ability to "create" environment variables
and assign values. I am trying to create an environment variable called
usernum. Usernum would have a number assigned to it based on a login
determination.
Can anyone tell me the syntax of this, whether it can be done in program mode.
Thanks
_______________________________________________
BR_forum mailing list
BR_forum@maillist.ads.net
http://maillist.ads.net/mailman/listinfo/br_forum
_______________________________________________
BR_forum mailing list
BR_forum@maillist.ads.net
http://maillist.ads.net/mailman/listinfo/br_forum
Post generated using Mail2Forum (http://www.mail2forum.com)
-
- Posts: 717
- Joined: Sun Aug 10, 2008 4:24 am
- Location: Southern California
[BR_forum] Setenv
Larry,
You can set environment variables inside your programs with this syntax:
00010 LET SETENV("USERNUM",A$)
or
00010 LET SETENV("USERNUM","123")
You can only use strings.
To retrieve that value, PRINT ENV$("USERNUM")
-- Susan
Larry wrote:
You can set environment variables inside your programs with this syntax:
00010 LET SETENV("USERNUM",A$)
or
00010 LET SETENV("USERNUM","123")
You can only use strings.
To retrieve that value, PRINT ENV$("USERNUM")
-- Susan
Larry wrote:
Post generated using Mail2Forum (http://www.mail2forum.com)I seem to recall that BR now has the ability to "create" environment
variables and assign values. I am trying to create an environment variable
called usernum. Usernum would have a number assigned to it based on a login
determination.
Can anyone tell me the syntax of this, whether it can be done in program
mode.
Thanks
[BR_forum] Setenv
Ok, but what does that like look on a program line?
100 Execute "config ......
-----Original Message-----
From: br_forum-bounces@maillist.ads.net
[mailto:br_forum-bounces@maillist.ads.net] On Behalf Of John Bowman
Sent: Thursday, October 02, 2008 10:01 AM
To: 'Business Rules Forum'
Subject: RE: [BR_forum] Setenv
SetEnv("UserNum","value to set it to")
-----Original Message-----
From: br_forum-bounces@maillist.ads.net
[mailto:br_forum-bounces@maillist.ads.net] On Behalf Of Larry
Sent: Thursday, October 02, 2008 9:57 AM
To: 'Business Rules Forum'
Subject: [BR_forum] Setenv
I seem to recall that BR now has the ability to "create" environment
variables
and assign values. I am trying to create an environment variable called
usernum. Usernum would have a number assigned to it based on a login
determination.
Can anyone tell me the syntax of this, whether it can be done in program
mode.
Thanks
_______________________________________________
BR_forum mailing list
BR_forum@maillist.ads.net
http://maillist.ads.net/mailman/listinfo/br_forum
_______________________________________________
BR_forum mailing list
BR_forum@maillist.ads.net
http://maillist.ads.net/mailman/listinfo/br_forum
_______________________________________________
BR_forum mailing list
BR_forum@maillist.ads.net
http://maillist.ads.net/mailman/listinfo/br_forum
Post generated using Mail2Forum (http://www.mail2forum.com)
100 Execute "config ......
-----Original Message-----
From: br_forum-bounces@maillist.ads.net
[mailto:br_forum-bounces@maillist.ads.net] On Behalf Of John Bowman
Sent: Thursday, October 02, 2008 10:01 AM
To: 'Business Rules Forum'
Subject: RE: [BR_forum] Setenv
SetEnv("UserNum","value to set it to")
-----Original Message-----
From: br_forum-bounces@maillist.ads.net
[mailto:br_forum-bounces@maillist.ads.net] On Behalf Of Larry
Sent: Thursday, October 02, 2008 9:57 AM
To: 'Business Rules Forum'
Subject: [BR_forum] Setenv
I seem to recall that BR now has the ability to "create" environment
variables
and assign values. I am trying to create an environment variable called
usernum. Usernum would have a number assigned to it based on a login
determination.
Can anyone tell me the syntax of this, whether it can be done in program
mode.
Thanks
_______________________________________________
BR_forum mailing list
BR_forum@maillist.ads.net
http://maillist.ads.net/mailman/listinfo/br_forum
_______________________________________________
BR_forum mailing list
BR_forum@maillist.ads.net
http://maillist.ads.net/mailman/listinfo/br_forum
_______________________________________________
BR_forum mailing list
BR_forum@maillist.ads.net
http://maillist.ads.net/mailman/listinfo/br_forum
Post generated using Mail2Forum (http://www.mail2forum.com)
[BR_forum] Setenv
Thank you Susan !!!!
Perfect
From: br_forum-bounces@maillist.ads.net [mailto:br_forum-bounces@maillist.ads.net] On Behalf Of Susan Smith
Sent: Thursday, October 02, 2008 10:05 AM
To: Business Rules Forum
Subject: Re: [BR_forum] Setenv
Larry,
You can set environment variables inside your programs with this syntax:
00010 LET SETENV("USERNUM",A$)
or
00010 LET SETENV("USERNUM","123")
You can only use strings.
To retrieve that value, PRINT ENV$("USERNUM")
-- Susan
Larry wrote:
Perfect
From: br_forum-bounces@maillist.ads.net [mailto:br_forum-bounces@maillist.ads.net] On Behalf Of Susan Smith
Sent: Thursday, October 02, 2008 10:05 AM
To: Business Rules Forum
Subject: Re: [BR_forum] Setenv
Larry,
You can set environment variables inside your programs with this syntax:
00010 LET SETENV("USERNUM",A$)
or
00010 LET SETENV("USERNUM","123")
You can only use strings.
To retrieve that value, PRINT ENV$("USERNUM")
-- Susan
Larry wrote:
Post generated using Mail2Forum (http://www.mail2forum.com)I seem to recall that BR now has the ability to "create" environmentvariables and assign values. I am trying to create an environment variablecalled usernum. Usernum would have a number assigned to it based on a logindetermination. Can anyone tell me the syntax of this, whether it can be done in programmode. Thanks