Files
marqdo/tests/keywords/stdlib.mq.md
T
cflmyandCursor 30cd39fd8f Add diagnostics spans, CLI/view input feeding, and len/str/int builtins.
Unify bytecode errors with path:line:col, support --stdin-file and live view preset stdin, and ship the S0 standard library with gold coverage.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-04 17:26:09 +08:00

37 lines
326 B
Markdown

---
title: len str int
description: Built-in conversions and length
---
# main
*`s` = hello*
*`n` = > len `s`*
> print text=`n`
`xs` =
| item |
|------|
| a |
| b |
| c |
*`m` = > len `xs`*
> print text=`m`
*`t` = > str 42*
> print text=`t`
*`i` = > int `t`*
> print text=`i`
*`j` = > int True*
> print text=`j`