You are here: start » ppl » statements » setenv

SETENV

SETENV

	SETENV env_var  
	

Set an environment variable

Example:
string s

	let s = "stan=Stan"
	SETENV s
	.
	.
	.
	if (GETENV("stan") = "Stan") then
		Println "Environment variable stan = Stan "
	endif

Used to set DOS environment variable. This can be used for PPE's to communicate with other PPE's. The environment variables set within PPL will NOT be available to DOORs. Environment variables set within PPL will be cleared the next time PCBoard recycles through DOS.
See also: GetEnv, Shell, Call

ppl/statements/setenv.txt · Last modified: 2019/04/16 14:00
CC Attribution 4.0 International Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution 4.0 International