Modify

Opened 18 years ago

Closed 18 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 by TicketCleanup, 18 years ago

Version: 3.2.10.0

Automatic ticket cleanup.

comment:2 by Valik, 18 years ago

Resolution: Rejected
Status: newclosed

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

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.