Modify

Opened 12 years ago

Closed 12 years ago

#143 closed Feature Request (Rejected)

PHP-Like #Include

Reported by: KentonBomb Owned by:
Milestone: Component: AutoIt
Version: Severity:
Keywords: Cc:

Description

I've seen this posted in the Support forums many times. The request is that #Include behaves more like it's PHP Counterpart.

For example:

If $cmdline[0] Then
     If $cmdline[1] = "blah1"
          #Include "FileOne.au3";
     Else
          #Include "FileTwo.au3";
     EndIf
EndIf

As in, files aren't all automatically included. If they are called in a conditional loop, there can be a choice to Include a certain file. That is just one example where this could be useful. It could also be useful for including files based on different languages, et cetera.

Attachments (0)

Change History (2)

comment:1 Changed 12 years ago by TicketCleanup

  • Version 3.2.10.0 deleted

Automatic ticket cleanup.

comment:2 Changed 12 years ago by Valik

  • Resolution set to Rejected
  • Status changed from new to closed

Stupid request. Think about it for 5 seconds and you'll realize why.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.