general question about variables

Giganews Newsgroups
Subject: general question about variables
Posted by:  integreat (integreat.28348a_1148092500.7134@excelforum-nospam.com)
Date: Fri, 19 May 2006

I can't for the life of me get this line of code to work:

deltaX = .01

When I go to the immediate window I find deltaX = 0

I can't assign a decimal value to that variable. I remember it was much
easier in quick basic to do this What am I doing wrong?

BTW the variable deltaX has been dimensioned as LONG

The good news is that I almost have a custom function that will allow
intergration by the trapezoidal method.

--
integreat
------------------------------------------------------------------------
integreat's Profile:http://www.excelforum.com/member.php?action=getinfo&userid=34282
View this thread:http://www.excelforum.com/showthread.php?threadid=543908

Replies