English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories
0

Write a code statement that will create a variable called 'total' to be used in multiple subroutines. The variable should have a data type of Short.

Thats the problem... totally lost. Could you help??

2007-02-28 04:24:08 · 2 answers · asked by Steve 3 in Computers & Internet Software

2 answers

Public Total As Short

2007-02-28 04:33:40 · answer #1 · answered by Sane 6 · 0 0

Outside the subroutines, in the Class itself, put

Dim total As double

Then you can use "total" in any of the subroutines in that class.

2007-02-28 04:27:49 · answer #2 · answered by Scotty Doesnt Know 7 · 0 1

fedest.com, questions and answers