![]() | ![]() | ![]() | ![]() | ![]() |
GetIdPrepare() |
This is a rexx function provided by PPWIZARD. This routine (like all PPWIZARD extensions) can be used with any operating system supported by PPWIZARD.
This function is used to prepare a handle for use in the GetId() routine.
The function takes 2 parameters:
Normally when GetId() is called you pass it a unique key for which you wish a unique ID generated. If you ask for an ID for the same key at some later stage the original ID is returned.
When 'Y' is used you intend to pass non-unique keys but YOU ensure or know that each time GetId() is called it is for a different entity even if the key looks identical! GetId() will generate a unique ID each time it is called and will not remember it. This mode can generate "prettier" IDs (at least until the key is duplicated) and without tricky code. The "FTPLIKE.IH" add-on uses the "unique" mode.
![]() | ![]() | ![]() | ![]() | ![]() |