User Tools

Site Tools


Sidebar

Home



G-Code


About

  Order of execution
  Parameters

G-Codes

M-Codes

Other Codes

O-Words

  sub..endsub group
   sub - Begin subroutine
   endsub - End subroutine
   return - Exit subroutine
   call - Call subroutine

  do..while group
   do - Begin block
   while - End block
   break - Exit block immediately
   continue - Skip to next condition evaluation

  while..endwhile group
   while - Begin block
   endwhile - End block
   break - Exit block immediately
   continue - Skip to next condition evaluation

  repeat..endrepeat group
   repeat - Begin block
   endrepeat - End block

  if..endif group
   if - Begin block
   endif - End block
   elseif - Else
   else - Else

Comments

Functions

Operators

Macros

gcode:owords:oword-sub-return

endsub

End subroutine

Syntax

o<my> return

Examples

o<my> sub
o<my> endsub

See also

gcode/owords/oword-sub-return.txt · Last modified: 2024/03/29 16:30 by andrej

Page Tools