Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Converting Visual Basic Code to PERL

by Biker (Priest)
on May 16, 2003 at 12:53 UTC ( #258629=note: print w/ replies, xml ) Need Help??


in reply to Converting Visual Basic Code to PERL

Remember that in Visual Basic, False is defined as -1. (Minus one.)

Update: Absolutely right. As a result, I think that my node should be deleted, since it provides incorrect information. (Doh)

My only defense is that it was so long ago I wrote any Visual Basic. I should of course have verified my statement before writing the node.


Everything went worng, just as foreseen.


Comment on Re: Converting Visual Basic Code to PERL
Download Code
Replies are listed 'Best First'.
Re: Re: Converting Visual Basic Code to PERL
by diotalevi (Canon) on May 16, 2003 at 13:04 UTC

    No, that's True you just described. True is any non-zero integer though casting True to Integer results in -1. False is zero.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://258629]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (14)
As of 2015-07-29 20:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (268 votes), past polls