- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm working with vf6.5. Input to the program is read into several arrays, with many variables equivalenced to elements of the input arrays. Subsequent to reading the data, the compiler warns that for two variables "Variable is used before its value has been defined", even though each variable has been defined in an equivalence statement. Additionally, the statements flagged do not contain or reference the variable that the warning is issued for.
If I explicitly define each of the two variables equal to its input array element after the data have been read, the warning messages do not appear.
1. Will the program compile correctly with the presence of the warning messages?
2. Will the program compile correctly with the two variables explicitly defined?
3. Is there a fix for this apparent compiler error?
4. Am I missing something I should be aware of?
If I explicitly define each of the two variables equal to its input array element after the data have been read, the warning messages do not appear.
1. Will the program compile correctly with the presence of the warning messages?
2. Will the program compile correctly with the two variables explicitly defined?
3. Is there a fix for this apparent compiler error?
4. Am I missing something I should be aware of?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Without an example, it's hard to say if there is an error or not. Please send a complete example that reproduces the problem to us at vf-support@compaq.com and we'll be glad to look at it.
Steve
Steve
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page