Jump to content

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Find out more here. X
X


Photo

Comment lines in the script


  • Please log in to reply
10 replies to this topic

#1 Cryoma

Cryoma

    Seeker

  • New Members
  • 1 posts

Posted 29 May 2009 - 05:56 PM

I'd like to know how to leave a comment in an autoit script.
Most languages use //comment but it didn't seem to work.







#2 charvi

charvi

    Prodigy

  • Active Members
  • PipPipPip
  • 150 posts

Posted 29 May 2009 - 06:00 PM

I'd like to know how to leave a comment in an autoit script.
Most languages use //comment but it didn't seem to work.

Cryoma,

The symbol for comments is the semi-colon ( ; )

Edited by charvi, 29 May 2009 - 06:00 PM.


#3 martin

martin

    ~~\o/~~~/0\=¬''~~~

  • MVPs
  • 7,321 posts

Posted 29 May 2009 - 06:01 PM

I'd like to know how to leave a comment in an autoit script.
Most languages use //comment but it didn't seem to work.


Welcome to the AutoItforums Cryoma :)

Like many questions, this one can be answered by the help. Search for comments, it's as simple as that!
Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.

#4 GEOSoft

GEOSoft

    Sure I'm senile. What's your excuse?

  • MVPs
  • 10,573 posts

Posted 29 May 2009 - 06:03 PM

After you actually get around to opening the help file you should be able to find this page under Language Reference
GeorgeQuestion about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.*** The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else."Old age and treachery will always overcome youth and skill!"

#5 James

James

    Universalist

  • MVPs
  • 10,297 posts

Posted 29 May 2009 - 08:21 PM

AutoIt should be advertised with:

AWESOME HELP FILE!

Then maybe some people will take more notice.

#6 charvi

charvi

    Prodigy

  • Active Members
  • PipPipPip
  • 150 posts

Posted 29 May 2009 - 08:59 PM

JamesBrooks,

Together with your Avatar I could not miss the Help File :)

#7 trancexx

trancexx

    Queen F. Elizabeth MCXI

  • Active Members
  • PipPipPipPipPipPip
  • 6,199 posts

Posted 29 May 2009 - 09:04 PM

What help file?

          ......       ......
        .:oOOOOo:.   .:oOOOOo:.
      .:oOO:'':Oo:. .:oO:'':OOo:.
     .:oO:      'Oo:oO'      :Oo:.
     :oO:         'o'   
      :Oo:
     :oO:                     :Oo:
     ':oO:     OT9AO0IEDrk   :Oo:'
      ':oO:                 :Oo:'
        ':oO.             .Oo:'
          ':oO
.         .Oo:'
            ':oO.     .Oo:'
              ':oO. .Oo:'
                'oO:Oo'
                  'o' :kiss:



 

.
eMyvnE


#8 charvi

charvi

    Prodigy

  • Active Members
  • PipPipPip
  • 150 posts

Posted 29 May 2009 - 10:43 PM

Here: http://dundats.mvps.org/help/
It's also new to me. Until now I only used the Help file found when hitting the [F1] key in the SciTE Editor.
Only a pity that the examples are hard to read (too small).

Edited by charvi, 29 May 2009 - 10:45 PM.


#9 James

James

    Universalist

  • MVPs
  • 10,297 posts

Posted 30 May 2009 - 08:31 AM

Here: http://dundats.mvps.org/help/
It's also new to me. Until now I only used the Help file found when hitting the [F1] key in the SciTE Editor.
Only a pity that the examples are hard to read (too small).

Change the font-size.

#10 jerem488

jerem488

    Universalist

  • Active Members
  • PipPipPipPipPip
  • 259 posts

Posted 30 May 2009 - 03:43 PM

Otherwise, if you use Scite, you can select your line(s) and do CTRL+Q to comment.
Qui ose gagneWho Dares Win

CyberExploit


#11 AdmiralClaws

AdmiralClaws

    Where is the fish?

  • Active Members
  • PipPipPipPipPipPip
  • 4,679 posts

Posted 30 May 2009 - 04:17 PM

Otherwise, if you use Scite, you can select your line(s) and do CTRL+Q to comment.

Or numpad -




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users