PDA

View Full Version : Variables


ABC123

Omar Garcia
02-02-2005, 09:01 AM
How to set Global variables with data from a 1 record table.

I need to be able to customize the company information for the program as the program is to be sold to two companies...

Also, any good bocks on Alpha. I disappointed that there weren't any in the package and my old ones from release 3 are just plain ole old.

thanks

Stan Mathews
02-02-2005, 09:51 AM
This was done in the interactive editor, could the autoexec script.

dim global myvar as c
tbl = table.open("avendors")
myvar = alltrim(tbl.Ven_name)
tbl.close()


? myvar
= "Alpha Software"

Go to the "Learning Center" for the documentation.

Tom Cone Jr
02-02-2005, 10:54 AM
I really liked Dr. Wayne's book: Application Programming in Alpha Five.

-- t