Jump to content

#forceref - What does it do


 Share

Recommended Posts

#forceref $var, $var2

So, I've looked at the Help files (including the wrapper tools), searched the forums, etc - but can't find anything on what the heck that does.

I see this in a few scripts, but have no clue what it is about. Is it beneficial? If so, wouldn't it make sense to add it to the Help file?

Thanks!

Link to comment
Share on other sites

This question was asked before. It can be found

(I googled #forceref AutoIt)

Edited by shanet

[font="Comic Sans MS"]My code does not have bugs! It just develops random features.[/font]My Projects[list][*]Live Streaming (Not my project, but my edited version)[right]AutoIt Wrappers![/right][/list]Pure randomness[list][*]Small Minds.......................................................................................................[size="1"]Simple progress bar that changes direction at either sides.[/size][*]ChristmasIt AutoIt Christmas Theme..........................................................[size="1"]I WAS BOOOORED![/size][*]DriveToy..............................................................................................................[size="1"]Simple joke script. Trick your friends into thinking their computer drive is haywire![/size][/list]In Development[list][*]Your Background Task Organiser[*]AInstall Second Generation[/list]BEFORE POSTING ON THE FORUMS, TRY THIS:

%programfiles%/AutoIt3/autoit3.chm
Link to comment
Share on other sites

Wow, hadn't thought to use google instead of the search here lol.. goes to show how good the forum search is.

Thanks everyone for responding. I understand now. Gladly I don't run all the au3check options so I don't need it. :x

Edited by Ascend4nt
Link to comment
Share on other sites

I do use #forceref, and find it a nice reminder of what vars are not used in a function. In dev mode, or just in general when using local Enum parts (usual with (fixed) enumerated field_name_const for data array's)

Edited by MvGulik

"Straight_and_Crooked_Thinking" : A "classic guide to ferreting out untruths, half-truths, and other distortions of facts in political and social discussions."
"The Secrets of Quantum Physics" : New and excellent 2 part documentary on Quantum Physics by Jim Al-Khalili. (Dec 2014)

"Believing what you know ain't so" ...

Knock Knock ...
 

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...