30 lines
554 B
Markdown
30 lines
554 B
Markdown
---
|
|
weight: 100
|
|
title: "MV_LINE"
|
|
description: "Get current line"
|
|
icon: "code_blocks"
|
|
date: "2025-05-01T18:47:58-05:00"
|
|
lastmod: "2025-05-01T18:47:58-05:00"
|
|
---
|
|
|
|
`declare MV_LINE: number`
|
|
|
|
will be replaced with a number constant representing the current line.
|
|
|
|
{{% alert context="info" text="**Note**: `LPH_LINE` is an available alias." /%}}
|
|
|
|
## Valid Usage
|
|
|
|
```lua
|
|
local a = MV_LINE
|
|
print(a, MV_LINE)
|
|
```
|
|
|
|
Obfuscates to:
|
|
|
|
```lua
|
|
print(1,2)
|
|
```
|
|
|
|
{{% alert context="info" text="**Note**: the 'a' local got folded yet retains the original line number" /%}}
|