WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Global Variables

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Global Variables Extender

 Keywords:  

In WinBatch 2001, user defined functions have no access to the Global variables created by the calling routine, and cannot save any values between calls. The xGlobal extender is a workaround for this condition. xGlobal simulates global variables which are available to all of the WinBatch program, including its functions.

[xGlobal34i.zip]

[xGlobal_source.zip]

Author:
   Alan Kreutzer

Download:
   xGlobal34i.zip  18 KB

Description:
   In WinBatch 2001, user defined functions have no access
   to the Global variables created by the calling routine,
   and cannot save any values between calls.
   The xGlobal extender is a workaround for this condition.
   xGlobal simulates global variables which are available
   to all of the WinBatch program, including its functions.

Usage:
   AddExtender("xGlob34i.dll")

Functions:
   xGlobalDrop ("Name")
   xGlobalGet ("Name")
   xGlobalIsDefined ("Name")
   xGlobalPut ("Name","Value")
   xGlobalVersion (0)


Article ID:   W16871
File Created: 2019:08:14:08:57:58
Last Updated: 2019:08:14:08:57:58