User Tools

Site Tools


xrpl:if

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

xrpl:if [2019/03/03 23:05] – created Karsten75xrpl:if [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
- 
-=====  if   ===== 
- 
-^Arguments^Result^Notation^ 
-|bool| | [bool-] | 
- 
- 
-=== Description === 
-bool ARG1: The value to evaluate<p/>  
-Evaluate the first element on the stack. If True, then execute statements that follow, up to the endif or else statement.  
-If False, execution skips to the first statement following the endif or else statement. Any nonzero value is considered True, a value of zero is False.  
- 
-=== Examples === 
-<code prpl>if (<-var eq (1))  
-   #Do Something  
-endif  
-</code> 
  
xrpl/if.1551654351.txt.gz · Last modified: 2025/02/14 14:56 (external edit)