Jump to content

To Jim


foscmgt
 Share

Recommended Posts

Hey Jim,

How do I declare a numeric variable? Everytime I try I get an error message:

Access violation at 00000066. read of Address 0000006

I suppose you are working with Autoit v3.

Here you are an extract of AutoIt v3.0.77 help file :

Variants

========

All values are "Variants" and take a "integer", "float", or "string" value as required. The value type changes to match the situation they are being used in.

Data types can be overridden by using the casting functions Int(...) Float(...) and String(...)

e.g.

$var = 31.02

; $var is now a float

$var = Int($var)

; $var is now equal to the INTEGER 31

The casting functions should be used when mixing types and when you require a specific type of result or operation.

Is necessary to use the $ simbol in front any variable. Ex. :

$var is a variable :whistle:

var is not a variable B)

Manel(foscmgt #20741)

Link to comment
Share on other sites

  • 1 year later...

Since no one has replyed in two yaers:

it is neccary to use $ when talking bout $variablesn

Idea, you are sooo funny....

Kurt

__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...