Write the differences between COMMON SHARED and DIM SHARED.
1 Answer
COMMON SHARED | DIM SHARED |
IT is used in the main module and may be used for both variables and arrays. | It is used only in the main module to define and share arrays. |
Common Shared declares (and defines) also a global variable as above, and in addition, it can be shared between several code modules | Dim Shared declares (and defines) a global variable inside one code module. |
Topics from Computer
System Development Concept
2
Artificial Intelligence
4
File Handling QBASIC
44
Introduction to Digital Marketing
0
Modular programming
50
Number System
1
Object-Oriented Programming (OOP)
8
Office Personnel
1
DBMS
4
QBASIC programming
72
Computer Fundamentals
141
Related Questions
-
Who is a system analyst? What are the characteristics of system analysts? 1
-
What are the different stages of the system development life cycle (SDLC) 1
-
What do you understand about AI? What are the negative and positive aspects of AI in society? 1
-
How does an AI application work? Can a computer really think with the aid of AI? 1