Difference between revisions of "Barebones function 4"

From Unofficial QEdit Wiki Guide
Jump to: navigation, search
 
 
(One intermediate revision by the same user not shown)
Line 13: Line 13:
 
==How the function appears in the script==
 
==How the function appears in the script==
 
  <span style='font-size:12px;font-family:courier'>
 
  <span style='font-size:12px;font-family:courier'>
  <span style='color:blue'>2:      </span><span style='color:green'>winend </span> <span style='color:orange'>//Closes a window message.</span>
+
  <span style='color:blue'>4:      </span><span style='color:green'>winend </span> <span style='color:orange'>//Closes a window message.</span>
 
  <span style='color:green'>        ret </span>
 
  <span style='color:green'>        ret </span>
 
  </span>
 
  </span>
  
 
==Also see==
 
==Also see==
[[ret]], [[winend]]
+
[[winend]], [[ret]]

Latest revision as of 20:32, 16 March 2013

Barebones function 4

Function 4: 4:

  • Function 4

Use

Used to lessen the code needed by jumping to this function.

It is like using a common ending to a function.

But instead of writing out that common ending each time you would just jump to this function to end your function that ends in this way.

How the function appears in the script


4:       winend  //Closes a window message.
         ret 

Also see

winend, ret