added MV_LINE
This commit is contained in:
parent
33e34edc13
commit
33813e73b8
22
content/docs/macros/MV_LINE.md
Normal file
22
content/docs/macros/MV_LINE.md
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
---
|
||||||
|
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)
|
||||||
|
```
|
||||||
|
> prints `1 2`
|
Loading…
x
Reference in New Issue
Block a user