libdatabase : connection problem

Mark Wieder mwieder at ahsoftware.net
Sun Aug 28 22:10:50 EDT 2005


Dan-

Sunday, August 28, 2005, 6:12:39 PM, you wrote:

>>   local tDbA = ""
>>   local i = 0
>>   local tDataA = ""
> The above lines are doing nothing for you because they are incorrect
> syntax for Revolution. The expression "i = 0" evaluates to either  
> true or valse but does nothing with the result. IF what you intend to
> do here is to initialize local variables, then you need the slightly
> more verbose:

Well, incorrect syntax or not, they do what they appear to. I don't do
this myself, opting for the verbose method, and I think I remember
some discussion here about possible problems with this, but a simple
test shows that all three variables do indeed get initialized
properly.

-- 
-Mark Wieder
 mwieder at ahsoftware.net




More information about the use-livecode mailing list