Jump to content

Recommended Posts

Posted

Can I put #include<file> into Functions?

I tried to do one today and it gave me errors

;)

The speed of sound is defined by the distance from door to computer divided by the time interval needed to close the media player and pull up your pants when your mom shouts "OH MY GOD WHAT ARE YOU DOING!!!"

Posted

You can do #include-once<>

Remember that you CANNOT use variables in pre-processor statements (ie. anything starting with #).

Writing AutoIt scripts since

_DateAdd("d", -2, _NowCalcDate())
Posted

You can do #include-once<>

Remember that you CANNOT use variables in pre-processor statements (ie. anything starting with #).

hmmm...i don't really get what you're saying

#include-once did remove the errors, but the script isn't working

I've switched to using If-else statements, but seems like I can't use #include statements in it as well

The speed of sound is defined by the distance from door to computer divided by the time interval needed to close the media player and pull up your pants when your mom shouts "OH MY GOD WHAT ARE YOU DOING!!!"

  • Developers
Posted (edited)

Can I put #include<file> into Functions?

I tried to do one today and it gave me errors

;)

Yes you can... BUT:

When your file which is included contain another Func...EndFunc, you obviously get an Error because you cannot have a Function inside another Function... its as simple as that .....

Edited by JdeB

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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
  • Recently Browsing   0 members

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