Opened 10 years ago

Closed 10 years ago

#2812 closed Feature Request (Completed)

@ScriptLineNumber - HelpFile - Clarification

Reported by: mLipok Owned by: Melba23
Milestone: Component: Documentation
Version: Severity: None
Keywords: Cc:


HelpFile do not say anything about @ScriptLineNumber that it is related to au3 file

here is repro script which show what I mean:

Local $sTEMP
For $i = 1 To 30
	$sTEMP &= @CRLF
	If $i = 20 Then
		FileWrite('ScriptLineNumber_UDF1.au3', _
				$sTEMP & _
				'ConsoleWrite("UDF1: " & @ScriptLineNumber & @CRLF)' & _
FileWrite('ScriptLineNumber_UDF2.au3', _
		$sTEMP & _
		'ConsoleWrite("UDF2: " & @ScriptLineNumber & @CRLF)' & _
FileWrite('ScriptLineNumber_TEST.au3', _
		'#include "ScriptLineNumber_UDF1.au3"' & @CRLF & _
		'#include "ScriptLineNumber_UDF2.au3"' & @CRLF & _
		'ConsoleWrite("MAIN SCRIPT: " & @ScriptLineNumber & @CRLF)' & @CRLF & _

ShellExecute(@ScriptDir & "\ScriptLineNumber_TEST.au3")
MsgBox(0, '', 'Now try to RUN (ScriptLineNumber_TEST.au3) using F5 in SCITE')

Please consider extending the description in the documentation.

Attachments (0)

Change History (1)

comment:1 Changed 10 years ago by Melba23

  • Milestone set to
  • Owner set to Melba23
  • Resolution set to Completed
  • Status changed from new to closed

Changed by revision [10477] in version:

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

as closed The owner will remain Melba23.

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

Note: See TracTickets for help on using tickets.