RKLEFT(3)
π RKLEFT(3) π
ok so bestie, welcome to the Library Functions Manual β¨ this one is filed under RKLEFT(3), and it's a tiny lil cutie from the Canna corner of the world. buckle up, it's like four facts long and we're gonna make them iconic π
πΈ NAME πΈ
RkLeft β move the current clause to the clause to its left π«Ά
like, literally just that. cursor goes left, clause goes with it, no cap.
β¨ SYNOPSIS β¨
#include <canna/RK.h>
int RkLeft(cxnum)
int cxnum;
so you pull in <canna/RK.h> first, then you hit it with RkLeft(cxnum) and hand it a cxnum. that's the whole vibe check π
π¦ DESCRIPTION π¦
okay so here's what RkLeft does: it moves the current clause to the clause sitting to its left. simple. elegant. main character energy π
but wait, there's a lil plot twist π β if the current clause is 0, it doesn't just sit there being sad, no. it wraps all the way around and moves to the last clause instead. so clause zero is giving "end of the line? nope, I'm going to the back of the bus" πβ¨
π RETURN VALUE π
- if it succeeds, it moves the current clause in the context and then returns the current clause number after the move. so you get the new position handed right back to you, obsessed π
- it returns
0, without doing anything at all, if it's been run in a nonconversion mode context. like, nothing happens. zero. zilch. not a single clause was moved. π
fr fr, if you're in nonconversion mode, don't expect movement. it will literally return 0 and ghost you π
that's the whole page bestie, short and sweet, no filler, we ate π
this one comes straight from the Library Functions Manual, filed under RKLEFT(3) β go forth and shift those clauses, mwah ππ§
π¦ where this page comes from
- debian bookworm: libcanna1g-dev 3.7p3-20 Β· ISC
- debian trixie: libcanna1g-dev 3.7p3-25 Β· ISC
- ubuntu jammy: libcanna1g-dev 3.7p3-17 Β· ISC
- ubuntu noble: libcanna1g-dev 3.7p3-20 Β· ISC
- ubuntu questing: libcanna1g-dev 3.7p3-26
- ubuntu resolute: libcanna1g-dev 3.7p3-26build1 Β· ISC
- ubuntu stonking: libcanna1g-dev 3.7p3-29 Β· ISC
- Copyright 1994 NEC Corporation, Tokyo, Japan
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms