global variable declare
- How-to
- Variable
- 馥穗 莊
- PowerBuilder
- Wednesday, 18 May 2022 05:38 AM UTC
Hi:
I am migrating pb6.0 to powerbuilder 2021 but it shows error as below, gs_uid is global variable,
so, Where can I declare powerbuilder 2021 global variables?
---------- Compiler: Errors (下午 01:18:44)
security.pbl(w_login).cb_ok.clicked.6: Error C0015: Undefined variable: gs_uid
security.pbl(w_login).cb_ok.clicked.7: Error C0015: Undefined variable: gs_uid
security.pbl(w_login).cb_ok.clicked.7: Error C0003: Condition for if statement must be a boolean.
security.pbl(w_login).cb_ok.clicked.13: Error C0015: Undefined variable: gs_uid
security.pbl(w_login).cb_ok.clicked.29: Error C0015: Undefined variable: gs_uid
security.pbl(w_login).cb_ok.clicked.37: Error C0015: Undefined variable: gs_uid
security.pbl(w_login).cb_ok.clicked.43: Error C0015: Undefined variable: gs_uid
security.pbl(w_login).cb_ok.clicked.46: Error C0015: Undefined variable: gs_uid
security.pbl(w_login).cb_ok.clicked.53: Error C0015: Undefined variable: gs_deptno
security.pbl(w_login).cb_ok.clicked.54: Error C0015: Undefined variable: gs_deptclass
security.pbl(w_login).cb_ok.clicked.58: Error C0015: Undefined variable: gs_uid
security.pbl(w_login).cb_ok.clicked.74: Error C0015: Undefined variable: gs_uid
security.pbl(w_login).cb_ok.clicked.81: Error C0015: Undefined variable: gs_uid
security.pbl(w_login).cb_ok.clicked.82: Error C0020: Function with no return value used in expression
security.pbl(w_login).cb_ok.clicked.105: Error C0015: Undefined variable: gs_uid
security.pbl(w_login).cb_ok.clicked.107: Error C0015: Undefined variable: gs_uid
security.pbl(w_login).cb_ok.clicked.110: Error C0015: Undefined variable: gs_uid
---------- Finished Errors (下午 01:18:44)
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.