warning: local variable used as function error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have some variables listed here.
I then define the dialog box that works with this program:
I then setup the various dialog box tiles:
I then define the action tiles:
I then have some if statement conditions where I remove some tabs & rename some other tabs based on what's selected in the dialog box. I had the dialog box working before but now i'm getting these errors.
; warning: local variable used as function: WALKUP
; warning: local variable used as function: RECTANGULAR
; warning: local variable used as function: PULLFORWARD
; warning: local variable used as function: WALKUP
; warning: local variable used as function: PULLFORWARD
; warning: local variable used as function: WALKUP
; warning: local variable used as function: DOORSCHED
; warning: local variable used as function: RECTANGULAR
; warning: local variable used as function: PULLFORWARD
; warning: local variable used as function: WALKUP
; warning: local variable used as function: DOORSCHED
I'm wondering if for some reason its not getting to the dialog definition. Some of the guys that helped me out before taught me how to set an alert to show where the program is getting to, maybe I can try that. This program works with my other thread that has a long message chain.
This is what defines the (= ln16 "SAO") variable. That works now, but I'm trying to get my updatecover routine working. This program looks at various elements & deletes & renames tabs based on selections that the user makes in "SAO select.DCL". I have an older routine that worked with some other project types & loads a different dialog box so the logic was working before.
I am trying to figure out what is making it say I'm using a local variable as a function. I was trying to add onto an existing program but I must have something in there that's causing the error. i will post the updatecover file as well as the older version & also the dcl file. The 184kb file is the newer one. it should have the added variables listed at the top of this post. I hope this does not create a problem for anyone that looks at this.